<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 1.5.2">
<title>git-config(1)</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400">
<style>
/* Asciidoctor default stylesheet | MIT License | http://asciidoctor.org */
/* Remove the comments around the @import statement below when using this as a custom stylesheet */
/*@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400";*/
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}
audio,canvas,video{display:inline-block}
audio:not([controls]){display:none;height:0}
[hidden],template{display:none}
script{display:none!important}
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{margin:0}
a{background:transparent}
a:focus{outline:thin dotted}
a:active,a:hover{outline:0}
h1{font-size:2em;margin:.67em 0}
abbr[title]{border-bottom:1px dotted}
b,strong{font-weight:bold}
dfn{font-style:italic}
hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}
mark{background:#ff0;color:#000}
code,kbd,pre,samp{font-family:monospace;font-size:1em}
pre{white-space:pre-wrap}
q{quotes:"\201C" "\201D" "\2018" "\2019"}
small{font-size:80%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sup{top:-.5em}
sub{bottom:-.25em}
img{border:0}
svg:not(:root){overflow:hidden}
figure{margin:0}
fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}
legend{border:0;padding:0}
button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}
button,input{line-height:normal}
button,select{text-transform:none}
button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}
button[disabled],html input[disabled]{cursor:default}
input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}
input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
textarea{overflow:auto;vertical-align:top}
table{border-collapse:collapse;border-spacing:0}
*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
html,body{font-size:100%}
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto}
a:hover{cursor:pointer}
img,object,embed{max-width:100%;height:auto}
object,embed{height:100%}
img{-ms-interpolation-mode:bicubic}
#map_canvas img,#map_canvas embed,#map_canvas object,.map_canvas img,.map_canvas embed,.map_canvas object{max-width:none!important}
.left{float:left!important}
.right{float:right!important}
.text-left{text-align:left!important}
.text-right{text-align:right!important}
.text-center{text-align:center!important}
.text-justify{text-align:justify!important}
.hide{display:none}
.antialiased,body{-webkit-font-smoothing:antialiased}
img{display:inline-block;vertical-align:middle}
textarea{height:auto;min-height:50px}
select{width:100%}
p.lead,.paragraph.lead>p,#preamble>.sectionbody>.paragraph:first-of-type p{font-size:1.21875em;line-height:1.6}
.subheader,.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{line-height:1.45;color:#7a2518;font-weight:400;margin-top:0;margin-bottom:.25em}
div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0;direction:ltr}
a{color:#2156a5;text-decoration:underline;line-height:inherit}
a:hover,a:focus{color:#1d4b8f}
a img{border:none}
p{font-family:inherit;font-weight:400;font-size:1em;line-height:1.6;margin-bottom:1.25em;text-rendering:optimizeLegibility}
p aside{font-size:.875em;line-height:1.35;font-style:italic}
h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{font-family:"Open Sans","DejaVu Sans",sans-serif;font-weight:300;font-style:normal;color:#ba3925;text-rendering:optimizeLegibility;margin-top:1em;margin-bottom:.5em;line-height:1.0125em}
h1 small,h2 small,h3 small,#toctitle small,.sidebarblock>.content>.title small,h4 small,h5 small,h6 small{font-size:60%;color:#e99b8f;line-height:0}
h1{font-size:2.125em}
h2{font-size:1.6875em}
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em}
h4,h5{font-size:1.125em}
h6{font-size:1em}
hr{border:solid #ddddd8;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em;height:0}
em,i{font-style:italic;line-height:inherit}
strong,b{font-weight:bold;line-height:inherit}
small{font-size:60%;line-height:inherit}
code{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;color:rgba(0,0,0,.9)}
ul,ol,dl{font-size:1em;line-height:1.6;margin-bottom:1.25em;list-style-position:outside;font-family:inherit}
ul,ol,ul.no-bullet,ol.no-bullet{margin-left:1.5em}
ul li ul,ul li ol{margin-left:1.25em;margin-bottom:0;font-size:1em}
ul.square li ul,ul.circle li ul,ul.disc li ul{list-style:inherit}
ul.square{list-style-type:square}
ul.circle{list-style-type:circle}
ul.disc{list-style-type:disc}
ul.no-bullet{list-style:none}
ol li ul,ol li ol{margin-left:1.25em;margin-bottom:0}
dl dt{margin-bottom:.3125em;font-weight:bold}
dl dd{margin-bottom:1.25em}
abbr,acronym{text-transform:uppercase;font-size:90%;color:rgba(0,0,0,.8);border-bottom:1px dotted #ddd;cursor:help}
abbr{text-transform:none}
blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd}
blockquote cite{display:block;font-size:.9375em;color:rgba(0,0,0,.6)}
blockquote cite:before{content:"\2014 \0020"}
blockquote cite a,blockquote cite a:visited{color:rgba(0,0,0,.6)}
blockquote,blockquote p{line-height:1.6;color:rgba(0,0,0,.85)}
@media only screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2}
h1{font-size:2.75em}
h2{font-size:2.3125em}
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em}
h4{font-size:1.4375em}}table{background:#fff;margin-bottom:1.25em;border:solid 1px #dedede}
table thead,table tfoot{background:#f7f8f7;font-weight:bold}
table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;color:rgba(0,0,0,.8);text-align:left}
table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)}
table tr.even,table tr.alt,table tr:nth-of-type(even){background:#f8f8f7}
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6}
h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em}
h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400}
.clearfix:before,.clearfix:after,.float-group:before,.float-group:after{content:" ";display:table}
.clearfix:after,.float-group:after{clear:both}
*:not(pre)>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background-color:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed}
pre,pre>code{line-height:1.45;color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;text-rendering:optimizeSpeed}
.keyseq{color:rgba(51,51,51,.8)}
kbd{display:inline-block;color:rgba(0,0,0,.8);font-size:.75em;line-height:1.4;background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em white inset;box-shadow:0 1px 0 rgba(0,0,0,.2),0 0 0 .1em #fff inset;margin:-.15em .15em 0 .15em;padding:.2em .6em .2em .5em;vertical-align:middle;white-space:nowrap}
.keyseq kbd:first-child{margin-left:0}
.keyseq kbd:last-child{margin-right:0}
.menuseq,.menu{color:rgba(0,0,0,.8)}
b.button:before,b.button:after{position:relative;top:-1px;font-weight:400}
b.button:before{content:"[";padding:0 3px 0 2px}
b.button:after{content:"]";padding:0 2px 0 3px}
p a>code:hover{color:rgba(0,0,0,.9)}
#header,#content,#footnotes,#footer{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1;position:relative;padding-left:.9375em;padding-right:.9375em}
#header:before,#header:after,#content:before,#content:after,#footnotes:before,#footnotes:after,#footer:before,#footer:after{content:" ";display:table}
#header:after,#content:after,#footnotes:after,#footer:after{clear:both}
#content{margin-top:1.25em}
#content:before{content:none}
#header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0}
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #ddddd8}
#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #ddddd8;padding-bottom:8px}
#header .details{border-bottom:1px solid #ddddd8;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap}
#header .details span:first-child{margin-left:-.125em}
#header .details span.email a{color:rgba(0,0,0,.85)}
#header .details br{display:none}
#header .details br+span:before{content:"\00a0\2013\00a0"}
#header .details br+span.author:before{content:"\00a0\22c5\00a0";color:rgba(0,0,0,.85)}
#header .details br+span#revremark:before{content:"\00a0|\00a0"}
#header #revnumber{text-transform:capitalize}
#header #revnumber:after{content:"\00a0"}
#content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #ddddd8;padding-bottom:8px;margin-top:0;padding-top:1rem;margin-bottom:1.25rem}
#toc{border-bottom:1px solid #efefed;padding-bottom:.5em}
#toc>ul{margin-left:.125em}
#toc ul.sectlevel0>li>a{font-style:italic}
#toc ul.sectlevel0 ul.sectlevel1{margin:.5em 0}
#toc ul{font-family:"Open Sans","DejaVu Sans",sans-serif;list-style-type:none}
#toc a{text-decoration:none}
#toc a:active{text-decoration:underline}
#toctitle{color:#7a2518;font-size:1.2em}
@media only screen and (min-width:768px){#toctitle{font-size:1.375em}
body.toc2{padding-left:15em;padding-right:0}
#toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #efefed;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
#toc.toc2 #toctitle{margin-top:0;font-size:1.2em}
#toc.toc2>ul{font-size:.9em;margin-bottom:0}
#toc.toc2 ul ul{margin-left:0;padding-left:1em}
#toc.toc2 ul.sectlevel0 ul.sectlevel1{padding-left:0;margin-top:.5em;margin-bottom:.5em}
body.toc2.toc-right{padding-left:0;padding-right:15em}
body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #efefed;left:auto;right:0}}@media only screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0}
#toc.toc2{width:20em}
#toc.toc2 #toctitle{font-size:1.375em}
#toc.toc2>ul{font-size:.95em}
#toc.toc2 ul ul{padding-left:1.25em}
body.toc2.toc-right{padding-left:0;padding-right:20em}}#content #toc{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px}
#content #toc>:first-child{margin-top:0}
#content #toc>:last-child{margin-bottom:0}
#footer{max-width:100%;background-color:rgba(0,0,0,.8);padding:1.25em}
#footer-text{color:rgba(255,255,255,.8);line-height:1.44}
.sect1{padding-bottom:.625em}
@media only screen and (min-width:768px){.sect1{padding-bottom:1.25em}}.sect1+.sect1{border-top:1px solid #efefed}
#content h1>a.anchor,h2>a.anchor,h3>a.anchor,#toctitle>a.anchor,.sidebarblock>.content>.title>a.anchor,h4>a.anchor,h5>a.anchor,h6>a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400}
#content h1>a.anchor:before,h2>a.anchor:before,h3>a.anchor:before,#toctitle>a.anchor:before,.sidebarblock>.content>.title>a.anchor:before,h4>a.anchor:before,h5>a.anchor:before,h6>a.anchor:before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em}
#content h1:hover>a.anchor,#content h1>a.anchor:hover,h2:hover>a.anchor,h2>a.anchor:hover,h3:hover>a.anchor,#toctitle:hover>a.anchor,.sidebarblock>.content>.title:hover>a.anchor,h3>a.anchor:hover,#toctitle>a.anchor:hover,.sidebarblock>.content>.title>a.anchor:hover,h4:hover>a.anchor,h4>a.anchor:hover,h5:hover>a.anchor,h5>a.anchor:hover,h6:hover>a.anchor,h6>a.anchor:hover{visibility:visible}
#content h1>a.link,h2>a.link,h3>a.link,#toctitle>a.link,.sidebarblock>.content>.title>a.link,h4>a.link,h5>a.link,h6>a.link{color:#ba3925;text-decoration:none}
#content h1>a.link:hover,h2>a.link:hover,h3>a.link:hover,#toctitle>a.link:hover,.sidebarblock>.content>.title>a.link:hover,h4>a.link:hover,h5>a.link:hover,h6>a.link:hover{color:#a53221}
.audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em}
.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{text-rendering:optimizeLegibility;text-align:left;font-family:"Noto Serif","DejaVu Serif",serif;font-size:1rem;font-style:italic}
table.tableblock>caption.title{white-space:nowrap;overflow:visible;max-width:0}
.paragraph.lead>p,#preamble>.sectionbody>.paragraph:first-of-type p{color:rgba(0,0,0,.85)}
table.tableblock #preamble>.sectionbody>.paragraph:first-of-type p{font-size:inherit}
.admonitionblock>table{border-collapse:separate;border:0;background:none;width:100%}
.admonitionblock>table td.icon{text-align:center;width:80px}
.admonitionblock>table td.icon img{max-width:none}
.admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #ddddd8;color:rgba(0,0,0,.6)}
.admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
.exampleblock>.content{border-style:solid;border-width:1px;border-color:#e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;-webkit-border-radius:4px;border-radius:4px}
.exampleblock>.content>:first-child{margin-top:0}
.exampleblock>.content>:last-child{margin-bottom:0}
.sidebarblock{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px}
.sidebarblock>:first-child{margin-top:0}
.sidebarblock>:last-child{margin-bottom:0}
.sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center}
.exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0}
.literalblock pre,.listingblock pre:not(.highlight),.listingblock pre[class="highlight"],.listingblock pre[class^="highlight "],.listingblock pre.CodeRay,.listingblock pre.prettyprint{background:#f7f7f8}
.sidebarblock .literalblock pre,.sidebarblock .listingblock pre:not(.highlight),.sidebarblock .listingblock pre[class="highlight"],.sidebarblock .listingblock pre[class^="highlight "],.sidebarblock .listingblock pre.CodeRay,.sidebarblock .listingblock pre.prettyprint{background:#f2f1f1}
.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;padding:1em;font-size:.8125em}
.literalblock pre.nowrap,.literalblock pre[class].nowrap,.listingblock pre.nowrap,.listingblock pre[class].nowrap{overflow-x:auto;white-space:pre;word-wrap:normal}
@media only screen and (min-width:768px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:.90625em}}@media only screen and (min-width:1280px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:1em}}.literalblock.output pre{color:#f7f7f8;background-color:rgba(0,0,0,.9)}
.listingblock pre.highlightjs{padding:0}
.listingblock pre.highlightjs>code{padding:1em;-webkit-border-radius:4px;border-radius:4px}
.listingblock pre.prettyprint{border-width:0}
.listingblock>.content{position:relative}
.listingblock code[data-lang]:before{display:none;content:attr(data-lang);position:absolute;font-size:.75em;top:.425rem;right:.5rem;line-height:1;text-transform:uppercase;color:#999}
.listingblock:hover code[data-lang]:before{display:block}
.listingblock.terminal pre .command:before{content:attr(data-prompt);padding-right:.5em;color:#999}
.listingblock.terminal pre .command:not([data-prompt]):before{content:"$"}
table.pyhltable{border-collapse:separate;border:0;margin-bottom:0;background:none}
table.pyhltable td{vertical-align:top;padding-top:0;padding-bottom:0}
table.pyhltable td.code{padding-left:.75em;padding-right:0}
pre.pygments .lineno,table.pyhltable td:not(.code){color:#999;padding-left:0;padding-right:.5em;border-right:1px solid #ddddd8}
pre.pygments .lineno{display:inline-block;margin-right:.25em}
table.pyhltable .linenodiv{background:none!important;padding-right:0!important}
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
.quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em}
.quoteblock blockquote,.quoteblock blockquote p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
.quoteblock blockquote{margin:0;padding:0;border:0}
.quoteblock blockquote:before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
.quoteblock blockquote>.paragraph:last-child p{margin-bottom:0}
.quoteblock .attribution{margin-top:.5em;margin-right:.5ex;text-align:right}
.quoteblock .quoteblock{margin-left:0;margin-right:0;padding:.5em 0;border-left:3px solid rgba(0,0,0,.6)}
.quoteblock .quoteblock blockquote{padding:0 0 0 .75em}
.quoteblock .quoteblock blockquote:before{display:none}
.verseblock{margin:0 1em 1.25em 1em}
.verseblock pre{font-family:"Open Sans","DejaVu Sans",sans;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility}
.verseblock pre strong{font-weight:400}
.verseblock .attribution{margin-top:1.25rem;margin-left:.5ex}
.quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic}
.quoteblock .attribution br,.verseblock .attribution br{display:none}
.quoteblock .attribution cite,.verseblock .attribution cite{display:block;letter-spacing:-.05em;color:rgba(0,0,0,.6)}
.quoteblock.abstract{margin:0 0 1.25em 0;display:block}
.quoteblock.abstract blockquote,.quoteblock.abstract blockquote p{text-align:left;word-spacing:0}
.quoteblock.abstract blockquote:before,.quoteblock.abstract blockquote p:first-of-type:before{display:none}
table.tableblock{max-width:100%;border-collapse:separate}
table.tableblock td>.paragraph:last-child p>p:last-child,table.tableblock th>p:last-child,table.tableblock td>p:last-child{margin-bottom:0}
table.spread{width:100%}
table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}
table.grid-all th.tableblock,table.grid-all td.tableblock{border-width:0 1px 1px 0}
table.grid-all tfoot>tr>th.tableblock,table.grid-all tfoot>tr>td.tableblock{border-width:1px 1px 0 0}
table.grid-cols th.tableblock,table.grid-cols td.tableblock{border-width:0 1px 0 0}
table.grid-all *>tr>.tableblock:last-child,table.grid-cols *>tr>.tableblock:last-child{border-right-width:0}
table.grid-rows th.tableblock,table.grid-rows td.tableblock{border-width:0 0 1px 0}
table.grid-all tbody>tr:last-child>th.tableblock,table.grid-all tbody>tr:last-child>td.tableblock,table.grid-all thead:last-child>tr>th.tableblock,table.grid-rows tbody>tr:last-child>th.tableblock,table.grid-rows tbody>tr:last-child>td.tableblock,table.grid-rows thead:last-child>tr>th.tableblock{border-bottom-width:0}
table.grid-rows tfoot>tr>th.tableblock,table.grid-rows tfoot>tr>td.tableblock{border-width:1px 0 0 0}
table.frame-all{border-width:1px}
table.frame-sides{border-width:0 1px}
table.frame-topbot{border-width:1px 0}
th.halign-left,td.halign-left{text-align:left}
th.halign-right,td.halign-right{text-align:right}
th.halign-center,td.halign-center{text-align:center}
th.valign-top,td.valign-top{vertical-align:top}
th.valign-bottom,td.valign-bottom{vertical-align:bottom}
th.valign-middle,td.valign-middle{vertical-align:middle}
table thead th,table tfoot th{font-weight:bold}
tbody tr th{display:table-cell;line-height:1.6;background:#f7f8f7}
tbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{color:rgba(0,0,0,.8);font-weight:bold}
p.tableblock>code:only-child{background:none;padding:0}
p.tableblock{font-size:1em}
td>div.verse{white-space:pre}
ol{margin-left:1.75em}
ul li ol{margin-left:1.5em}
dl dd{margin-left:1.125em}
dl dd:last-child,dl dd:last-child>:last-child{margin-bottom:0}
ol>li p,ul>li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em}
ul.unstyled,ol.unnumbered,ul.checklist,ul.none{list-style-type:none}
ul.unstyled,ol.unnumbered,ul.checklist{margin-left:.625em}
ul.checklist li>p:first-child>.fa-square-o:first-child,ul.checklist li>p:first-child>.fa-check-square-o:first-child{width:1em;font-size:.85em}
ul.checklist li>p:first-child>input[type="checkbox"]:first-child{width:1em;position:relative;top:1px}
ul.inline{margin:0 auto .625em auto;margin-left:-1.375em;margin-right:0;padding:0;list-style:none;overflow:hidden}
ul.inline>li{list-style:none;float:left;margin-left:1.375em;display:block}
ul.inline>li>*{display:block}
.unstyled dl dt{font-weight:400;font-style:normal}
ol.arabic{list-style-type:decimal}
ol.decimal{list-style-type:decimal-leading-zero}
ol.loweralpha{list-style-type:lower-alpha}
ol.upperalpha{list-style-type:upper-alpha}
ol.lowerroman{list-style-type:lower-roman}
ol.upperroman{list-style-type:upper-roman}
ol.lowergreek{list-style-type:lower-greek}
.hdlist>table,.colist>table{border:0;background:none}
.hdlist>table>tbody>tr,.colist>table>tbody>tr{background:none}
td.hdlist1{padding-right:.75em;font-weight:bold}
td.hdlist1,td.hdlist2{vertical-align:top}
.literalblock+.colist,.listingblock+.colist{margin-top:-.5em}
.colist>table tr>td:first-of-type{padding:0 .75em;line-height:1}
.colist>table tr>td:last-of-type{padding:.25em 0}
.thumb,.th{line-height:0;display:inline-block;border:solid 4px #fff;-webkit-box-shadow:0 0 0 1px #ddd;box-shadow:0 0 0 1px #ddd}
.imageblock.left,.imageblock[style*="float: left"]{margin:.25em .625em 1.25em 0}
.imageblock.right,.imageblock[style*="float: right"]{margin:.25em 0 1.25em .625em}
.imageblock>.title{margin-bottom:0}
.imageblock.thumb,.imageblock.th{border-width:6px}
.imageblock.thumb>.title,.imageblock.th>.title{padding:0 .125em}
.image.left,.image.right{margin-top:.25em;margin-bottom:.25em;display:inline-block;line-height:0}
.image.left{margin-right:.625em}
.image.right{margin-left:.625em}
a.image{text-decoration:none}
span.footnote,span.footnoteref{vertical-align:super;font-size:.875em}
span.footnote a,span.footnoteref a{text-decoration:none}
span.footnote a:active,span.footnoteref a:active{text-decoration:underline}
#footnotes{padding-top:.75em;padding-bottom:.75em;margin-bottom:.625em}
#footnotes hr{width:20%;min-width:6.25em;margin:-.25em 0 .75em 0;border-width:1px 0 0 0}
#footnotes .footnote{padding:0 .375em;line-height:1.3;font-size:.875em;margin-left:1.2em;text-indent:-1.2em;margin-bottom:.2em}
#footnotes .footnote a:first-of-type{font-weight:bold;text-decoration:none}
#footnotes .footnote:last-of-type{margin-bottom:0}
#content #footnotes{margin-top:-.625em;margin-bottom:0;padding:.75em 0}
.gist .file-data>table{border:0;background:#fff;width:100%;margin-bottom:0}
.gist .file-data>table td.line-data{width:99%}
div.unbreakable{page-break-inside:avoid}
.big{font-size:larger}
.small{font-size:smaller}
.underline{text-decoration:underline}
.overline{text-decoration:overline}
.line-through{text-decoration:line-through}
.aqua{color:#00bfbf}
.aqua-background{background-color:#00fafa}
.black{color:#000}
.black-background{background-color:#000}
.blue{color:#0000bf}
.blue-background{background-color:#0000fa}
.fuchsia{color:#bf00bf}
.fuchsia-background{background-color:#fa00fa}
.gray{color:#606060}
.gray-background{background-color:#7d7d7d}
.green{color:#006000}
.green-background{background-color:#007d00}
.lime{color:#00bf00}
.lime-background{background-color:#00fa00}
.maroon{color:#600000}
.maroon-background{background-color:#7d0000}
.navy{color:#000060}
.navy-background{background-color:#00007d}
.olive{color:#606000}
.olive-background{background-color:#7d7d00}
.purple{color:#600060}
.purple-background{background-color:#7d007d}
.red{color:#bf0000}
.red-background{background-color:#fa0000}
.silver{color:#909090}
.silver-background{background-color:#bcbcbc}
.teal{color:#006060}
.teal-background{background-color:#007d7d}
.white{color:#bfbfbf}
.white-background{background-color:#fafafa}
.yellow{color:#bfbf00}
.yellow-background{background-color:#fafa00}
span.icon>.fa{cursor:default}
.admonitionblock td.icon [class^="fa icon-"]{font-size:2.5em;text-shadow:1px 1px 2px rgba(0,0,0,.5);cursor:default}
.admonitionblock td.icon .icon-note:before{content:"\f05a";color:#19407c}
.admonitionblock td.icon .icon-tip:before{content:"\f0eb";text-shadow:1px 1px 2px rgba(155,155,0,.8);color:#111}
.admonitionblock td.icon .icon-warning:before{content:"\f071";color:#bf6900}
.admonitionblock td.icon .icon-caution:before{content:"\f06d";color:#bf3400}
.admonitionblock td.icon .icon-important:before{content:"\f06a";color:#bf0000}
.conum[data-value]{display:inline-block;color:#fff!important;background-color:rgba(0,0,0,.8);-webkit-border-radius:100px;border-radius:100px;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}
.conum[data-value] *{color:#fff!important}
.conum[data-value]+b{display:none}
.conum[data-value]:after{content:attr(data-value)}
pre .conum[data-value]{position:relative;top:-.125em}
b.conum *{color:inherit!important}
.conum:not([data-value]):empty{display:none}
h1,h2{letter-spacing:-.01em}
dt,th.tableblock,td.content{text-rendering:optimizeLegibility}
p,td.content{letter-spacing:-.01em}
p strong,td.content strong{letter-spacing:-.005em}
p,blockquote,dt,td.content{font-size:1.0625rem}
p{margin-bottom:1.25rem}
.sidebarblock p,.sidebarblock dt,.sidebarblock td.content,p.tableblock{font-size:1em}
.exampleblock>.content{background-color:#fffef7;border-color:#e0e0dc;-webkit-box-shadow:0 1px 4px #e0e0dc;box-shadow:0 1px 4px #e0e0dc}
.print-only{display:none!important}
@media print{@page{margin:1.25cm .75cm}
*{-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}
a{color:inherit!important;text-decoration:underline!important}
a.bare,a[href^="#"],a[href^="mailto:"]{text-decoration:none!important}
a[href^="http:"]:not(.bare):after,a[href^="https:"]:not(.bare):after{content:"(" attr(href) ")";display:inline-block;font-size:.875em;padding-left:.25em}
abbr[title]:after{content:" (" attr(title) ")"}
pre,blockquote,tr,img{page-break-inside:avoid}
thead{display:table-header-group}
img{max-width:100%!important}
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
#toc{border-bottom:1px solid #ddddd8!important;padding-bottom:0!important}
.sect1{padding-bottom:0!important}
.sect1+.sect1{border:0!important}
#header>h1:first-child{margin-top:1.25rem}
body.book #header{text-align:center}
body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em 0}
body.book #header .details{border:0!important;display:block;padding:0!important}
body.book #header .details span:first-child{margin-left:0!important}
body.book #header .details br{display:block}
body.book #header .details br+span:before{content:none!important}
body.book #toc{border:0!important;text-align:left!important;padding:0!important;margin:0!important}
body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-break-before:always}
.listingblock code[data-lang]:before{display:block}
#footer{background:none!important;padding:0 .9375em}
#footer-text{color:rgba(0,0,0,.6)!important;font-size:.9em}
.hide-on-print{display:none!important}
.print-only{display:block!important}
.hide-for-print{display:none!important}
.show-for-print{display:inherit!important}}
</style>
</head>
<body class="manpage">
<div id="header">
<h1>git-config(1) Manual Page</h1>
<h2>NAME</h2>
<div class="sectionbody">
<p>git-config - Get and set repository or global options</p>
</div>
</div>
<div id="content">
<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
<pre class="content"><em>git config</em> [&lt;file-option&gt;] [type] [-z|--null] name [value [value_regex]]
<em>git config</em> [&lt;file-option&gt;] [type] --add name value
<em>git config</em> [&lt;file-option&gt;] [type] --replace-all name value [value_regex]
<em>git config</em> [&lt;file-option&gt;] [type] [-z|--null] --get name [value_regex]
<em>git config</em> [&lt;file-option&gt;] [type] [-z|--null] --get-all name [value_regex]
<em>git config</em> [&lt;file-option&gt;] [type] [-z|--null] --get-regexp name_regex [value_regex]
<em>git config</em> [&lt;file-option&gt;] [type] [-z|--null] --get-urlmatch name URL
<em>git config</em> [&lt;file-option&gt;] --unset name [value_regex]
<em>git config</em> [&lt;file-option&gt;] --unset-all name [value_regex]
<em>git config</em> [&lt;file-option&gt;] --rename-section old_name new_name
<em>git config</em> [&lt;file-option&gt;] --remove-section name
<em>git config</em> [&lt;file-option&gt;] [-z|--null] -l | --list
<em>git config</em> [&lt;file-option&gt;] --get-color name [default]
<em>git config</em> [&lt;file-option&gt;] --get-colorbool name [stdout-is-tty]
<em>git config</em> [&lt;file-option&gt;] -e | --edit</pre>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph">
<p>You can query/set/replace/unset options with this command. The name is
actually the section and the key separated by a dot, and the value will be
escaped.</p>
</div>
<div class="paragraph">
<p>Multiple lines can be added to an option by using the <em>--add</em> option.
If you want to update or unset an option which can occur on multiple
lines, a POSIX regexp <code>value_regex</code> needs to be given.  Only the
existing values that match the regexp are updated or unset.  If
you want to handle the lines that do <strong>not</strong> match the regex, just
prepend a single exclamation mark in front (see also <a href="#EXAMPLES">EXAMPLES</a>).</p>
</div>
<div class="paragraph">
<p>The type specifier can be either <em>--int</em> or <em>--bool</em>, to make
<em>git config</em> ensure that the variable(s) are of the given type and
convert the value to the canonical form (simple decimal number for int,
a "true" or "false" string for bool), or <em>--path</em>, which does some
path expansion (see <em>--path</em> below).  If no type specifier is passed, no
checks or transformations are performed on the value.</p>
</div>
<div class="paragraph">
<p>When reading, the values are read from the system, global and
repository local configuration files by default, and options
<em>--system</em>, <em>--global</em>, <em>--local</em> and <em>--file &lt;filename&gt;</em> can be
used to tell the command to read from only that location (see <a href="#FILES">FILES</a>).</p>
</div>
<div class="paragraph">
<p>When writing, the new value is written to the repository local
configuration file by default, and options <em>--system</em>, <em>--global</em>,
<em>--file &lt;filename&gt;</em> can be used to tell the command to write to
that location (you can say <em>--local</em> but that is the default).</p>
</div>
<div class="paragraph">
<p>This command will fail with non-zero status upon error.  Some exit
codes are:</p>
</div>
<div class="olist arabic">
<ol class="arabic">
<li>
<p>The config file is invalid (ret=3),</p>
</li>
<li>
<p>can not write to the config file (ret=4),</p>
</li>
<li>
<p>no section or name was provided (ret=2),</p>
</li>
<li>
<p>the section or key is invalid (ret=1),</p>
</li>
<li>
<p>you try to unset an option which does not exist (ret=5),</p>
</li>
<li>
<p>you try to unset/set an option for which multiple lines match (ret=5), or</p>
</li>
<li>
<p>you try to use an invalid regexp (ret=6).</p>
</li>
</ol>
</div>
<div class="paragraph">
<p>On success, the command returns the exit code 0.</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_options">OPTIONS</h2>
<div class="sectionbody">
<div class="dlist">
<dl>
<dt class="hdlist1">--replace-all</dt>
<dd>
<p>Default behavior is to replace at most one line. This replaces
all lines matching the key (and optionally the value_regex).</p>
</dd>
<dt class="hdlist1">--add</dt>
<dd>
<p>Adds a new line to the option without altering any existing
values.  This is the same as providing <em>^$</em> as the value_regex
in <code>--replace-all</code>.</p>
</dd>
<dt class="hdlist1">--get</dt>
<dd>
<p>Get the value for a given key (optionally filtered by a regex
matching the value). Returns error code 1 if the key was not
found and the last value if multiple key values were found.</p>
</dd>
<dt class="hdlist1">--get-all</dt>
<dd>
<p>Like get, but does not fail if the number of values for the key
is not exactly one.</p>
</dd>
<dt class="hdlist1">--get-regexp</dt>
<dd>
<p>Like --get-all, but interprets the name as a regular expression and
writes out the key names.  Regular expression matching is currently
case-sensitive and done against a canonicalized version of the key
in which section and variable names are lowercased, but subsection
names are not.</p>
</dd>
<dt class="hdlist1">--get-urlmatch name URL</dt>
<dd>
<p>When given a two-part name section.key, the value for
section.&lt;url&gt;.key whose &lt;url&gt; part matches the best to the
given URL is returned (if no such key exists, the value for
section.key is used as a fallback).  When given just the
section as name, do so for all the keys in the section and
list them.</p>
</dd>
<dt class="hdlist1">--global</dt>
<dd>
<p>For writing options: write to global <code>~/.gitconfig</code> file
rather than the repository <code>.git/config</code>, write to
<code>$XDG_CONFIG_HOME/git/config</code> file if this file exists and the
<code>~/.gitconfig</code> file doesn&#8217;t.</p>
<div class="paragraph">
<p>For reading options: read only from global <code>~/.gitconfig</code> and from
<code>$XDG_CONFIG_HOME/git/config</code> rather than from all available files.</p>
</div>
<div class="paragraph">
<p>See also <a href="#FILES">FILES</a>.</p>
</div>
</dd>
<dt class="hdlist1">--system</dt>
<dd>
<p>For writing options: write to system-wide
<code>$(prefix)/etc/gitconfig</code> rather than the repository
<code>.git/config</code>.</p>
<div class="paragraph">
<p>For reading options: read only from system-wide <code>$(prefix)/etc/gitconfig</code>
rather than from all available files.</p>
</div>
<div class="paragraph">
<p>See also <a href="#FILES">FILES</a>.</p>
</div>
</dd>
<dt class="hdlist1">--local</dt>
<dd>
<p>For writing options: write to the repository <code>.git/config</code> file.
This is    the default behavior.</p>
<div class="paragraph">
<p>For reading options: read only from the repository <code>.git/config</code> rather than
from all available files.</p>
</div>
<div class="paragraph">
<p>See also <a href="#FILES">FILES</a>.</p>
</div>
</dd>
<dt class="hdlist1">-f config-file</dt>
<dt class="hdlist1">--file config-file</dt>
<dd>
<p>Use the given config file instead of the one specified by GIT_CONFIG.</p>
</dd>
<dt class="hdlist1">--blob blob</dt>
<dd>
<p>Similar to <em>--file</em> but use the given blob instead of a file. E.g.
you can use <em>master:.gitmodules</em> to read values from the file
<em>.gitmodules</em> in the master branch. See "SPECIFYING REVISIONS"
section in linkgit:gitrevisions[7] for a more complete list of
ways to spell blob names.</p>
</dd>
<dt class="hdlist1">--remove-section</dt>
<dd>
<p>Remove the given section from the configuration file.</p>
</dd>
<dt class="hdlist1">--rename-section</dt>
<dd>
<p>Rename the given section to a new name.</p>
</dd>
<dt class="hdlist1">--unset</dt>
<dd>
<p>Remove the line matching the key from config file.</p>
</dd>
<dt class="hdlist1">--unset-all</dt>
<dd>
<p>Remove all lines matching the key from config file.</p>
</dd>
<dt class="hdlist1">-l</dt>
<dt class="hdlist1">--list</dt>
<dd>
<p>List all variables set in config file.</p>
</dd>
<dt class="hdlist1">--bool</dt>
<dd>
<p><em>git config</em> will ensure that the output is "true" or "false"</p>
</dd>
<dt class="hdlist1">--int</dt>
<dd>
<p><em>git config</em> will ensure that the output is a simple
decimal number.  An optional value suffix of <em>k</em>, <em>m</em>, or <em>g</em>
in the config file will cause the value to be multiplied
by 1024, 1048576, or 1073741824 prior to output.</p>
</dd>
<dt class="hdlist1">--bool-or-int</dt>
<dd>
<p><em>git config</em> will ensure that the output matches the format of
either --bool or --int, as described above.</p>
</dd>
<dt class="hdlist1">--path</dt>
<dd>
<p><em>git-config</em> will expand leading <em>~</em> to the value of
<em>$HOME</em>, and <em>~user</em> to the home directory for the
specified user.  This option has no effect when setting the
value (but you can use <em>git config bla ~/</em> from the
command line to let your shell do the expansion).</p>
</dd>
<dt class="hdlist1">-z</dt>
<dt class="hdlist1">--null</dt>
<dd>
<p>For all options that output values and/or keys, always
end values with the null character (instead of a
newline). Use newline instead as a delimiter between
key and value. This allows for secure parsing of the
output without getting confused e.g. by values that
contain line breaks.</p>
</dd>
<dt class="hdlist1">--get-colorbool name [stdout-is-tty]</dt>
<dd>
<p>Find the color setting for <code>name</code> (e.g. <code>color.diff</code>) and output
"true" or "false".  <code>stdout-is-tty</code> should be either "true" or
"false", and is taken into account when configuration says
"auto".  If <code>stdout-is-tty</code> is missing, then checks the standard
output of the command itself, and exits with status 0 if color
is to be used, or exits with status 1 otherwise.
When the color setting for <code>name</code> is undefined, the command uses
<code>color.ui</code> as fallback.</p>
</dd>
<dt class="hdlist1">--get-color name [default]</dt>
<dd>
<p>Find the color configured for <code>name</code> (e.g. <code>color.diff.new</code>) and
output it as the ANSI color escape sequence to the standard
output.  The optional <code>default</code> parameter is used instead, if
there is no color configured for <code>name</code>.</p>
</dd>
<dt class="hdlist1">-e</dt>
<dt class="hdlist1">--edit</dt>
<dd>
<p>Opens an editor to modify the specified config file; either
<em>--system</em>, <em>--global</em>, or repository (default).</p>
</dd>
<dt class="hdlist1">--[no-]includes</dt>
<dd>
<p>Respect <code>include.*</code> directives in config files when looking up
values. Defaults to on.</p>
</dd>
</dl>
</div>
</div>
</div>
<div class="sect1">
<h2 id="FILES">FILES</h2>
<div class="sectionbody">
<div class="paragraph">
<p>If not set explicitly with <em>--file</em>, there are four files where
<em>git config</em> will search for configuration options:</p>
</div>
<div class="dlist">
<dl>
<dt class="hdlist1">$(prefix)/etc/gitconfig</dt>
<dd>
<p>System-wide configuration file.</p>
</dd>
<dt class="hdlist1">$XDG_CONFIG_HOME/git/config</dt>
<dd>
<p>Second user-specific configuration file. If $XDG_CONFIG_HOME is not set
or empty, <code>$HOME/.config/git/config</code> will be used. Any single-valued
variable set in this file will be overwritten by whatever is in
<code>~/.gitconfig</code>.  It is a good idea not to create this file if
you sometimes use older versions of Git, as support for this
file was added fairly recently.</p>
</dd>
<dt class="hdlist1">~/.gitconfig</dt>
<dd>
<p>User-specific configuration file. Also called "global"
configuration file.</p>
</dd>
<dt class="hdlist1">$GIT_DIR/config</dt>
<dd>
<p>Repository specific configuration file.</p>
</dd>
</dl>
</div>
<div class="paragraph">
<p>On Windows, as there is no central <code>/etc/</code> directory, there is yet another
config file, intended to contain settings for <strong>all</strong> Git-related software
running on the machine. Consequently, this config file takes an even lower
precedence than the <code>$(prefix)/etc/gitconfig</code> file.</p>
</div>
<div class="paragraph">
<p>If no further options are given, all reading options will read all of these
files that are available. If the global or the system-wide configuration
file are not available they will be ignored. If the repository configuration
file is not available or readable, <em>git config</em> will exit with a non-zero
error code. However, in neither case will an error message be issued.</p>
</div>
<div class="paragraph">
<p>The files are read in the order given above, with last value found taking
precedence over values read earlier.  When multiple values are taken then all
values of a key from all files will be used.</p>
</div>
<div class="paragraph">
<p>All writing options will per default write to the repository specific
configuration file. Note that this also affects options like <em>--replace-all</em>
and <em>--unset</em>. <strong><em>git config</em> will only ever change one file at a time</strong>.</p>
</div>
<div class="paragraph">
<p>You can override these rules either by command-line options or by environment
variables. The <em>--global</em> and the <em>--system</em> options will limit the file used
to the global or system-wide file respectively. The GIT_CONFIG environment
variable has a similar effect, but you can specify any filename you want.</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_environment">ENVIRONMENT</h2>
<div class="sectionbody">
<div class="dlist">
<dl>
<dt class="hdlist1">GIT_CONFIG</dt>
<dd>
<p>Take the configuration from the given file instead of .git/config.
Using the "--global" option forces this to ~/.gitconfig. Using the
"--system" option forces this to $(prefix)/etc/gitconfig.</p>
</dd>
<dt class="hdlist1">GIT_CONFIG_NOSYSTEM</dt>
<dd>
<p>Whether to skip reading settings from the system-wide
$(prefix)/etc/gitconfig file. See linkgit:git[1] for details.</p>
</dd>
</dl>
</div>
<div class="paragraph">
<p>See also <a href="#FILES">FILES</a>.</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="EXAMPLES">EXAMPLES</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Given a .git/config like this:</p>
</div>
<div class="literalblock">
<div class="content">
<pre>#
# This is the config file, and
# a '#' or ';' character indicates
# a comment
#</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>; core variables
[core]
    ; Don't trust file modes
    filemode = false</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>; Our diff algorithm
[diff]
    external = /usr/local/bin/diff-wrapper
    renames = true</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>; Proxy settings
[core]
    gitproxy=proxy-command for kernel.org
    gitproxy=default-proxy ; for all the rest</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>; HTTP
[http]
    sslVerify
[http "https://weak.example.com"]
    sslVerify = false
    cookieFile = /tmp/cookie.txt</pre>
</div>
</div>
<div class="paragraph">
<p>you can set the filemode to true with</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config core.filemode true</pre>
</div>
</div>
<div class="paragraph">
<p>The hypothetical proxy command entries actually have a postfix to discern
what URL they apply to. Here is how to change the entry for kernel.org
to "ssh".</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config core.gitproxy '"ssh" for kernel.org' 'for kernel.org$'</pre>
</div>
</div>
<div class="paragraph">
<p>This makes sure that only the key/value pair for kernel.org is replaced.</p>
</div>
<div class="paragraph">
<p>To delete the entry for renames, do</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config --unset diff.renames</pre>
</div>
</div>
<div class="paragraph">
<p>If you want to delete an entry for a multivar (like core.gitproxy above),
you have to provide a regex matching the value of exactly one line.</p>
</div>
<div class="paragraph">
<p>To query the value for a given key, do</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config --get core.filemode</pre>
</div>
</div>
<div class="paragraph">
<p>or</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config core.filemode</pre>
</div>
</div>
<div class="paragraph">
<p>or, to query a multivar:</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config --get core.gitproxy "for kernel.org$"</pre>
</div>
</div>
<div class="paragraph">
<p>If you want to know all the values for a multivar, do:</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config --get-all core.gitproxy</pre>
</div>
</div>
<div class="paragraph">
<p>If you like to live dangerously, you can replace <strong>all</strong> core.gitproxy by a
new one with</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config --replace-all core.gitproxy ssh</pre>
</div>
</div>
<div class="paragraph">
<p>However, if you really only want to replace the line for the default proxy,
i.e. the one without a "for &#8230;&#8203;" postfix, do something like this:</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config core.gitproxy ssh '! for '</pre>
</div>
</div>
<div class="paragraph">
<p>To actually match only values with an exclamation mark, you have to</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config section.key value '[!]'</pre>
</div>
</div>
<div class="paragraph">
<p>To add a new proxy, without altering any of the existing ones, use</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config --add core.gitproxy '"proxy-command" for example.com'</pre>
</div>
</div>
<div class="paragraph">
<p>An example to use customized color from the configuration in your
script:</p>
</div>
<div class="listingblock">
<div class="content">
<pre>#!/bin/sh
WS=$(git config --get-color color.diff.whitespace "blue reverse")
RESET=$(git config --get-color "" "reset")
echo "${WS}your whitespace color or blue reverse${RESET}"</pre>
</div>
</div>
<div class="paragraph">
<p>For URLs in <code>https://weak.example.com</code>, <code>http.sslVerify</code> is set to
false, while it is set to <code>true</code> for all others:</p>
</div>
<div class="listingblock">
<div class="content">
<pre>% git config --bool --get-urlmatch http.sslverify https://good.example.com
true
% git config --bool --get-urlmatch http.sslverify https://weak.example.com
false
% git config --get-urlmatch http https://weak.example.com
http.cookieFile /tmp/cookie.txt
http.sslverify false</pre>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_configuration_file">CONFIGURATION FILE</h2>
<div class="sectionbody">
<div class="paragraph">
<p>The Git configuration file contains a number of variables that affect
the Git commands' behavior. The <code>.git/config</code> file in each repository
is used to store the configuration for that repository, and
<code>$HOME/.gitconfig</code> is used to store a per-user configuration as
fallback values for the <code>.git/config</code> file. The file <code>/etc/gitconfig</code>
can be used to store a system-wide default configuration. On Windows,
configuration can also be stored in <code>C:\ProgramData\Git\config</code>; This
file will be used also by libgit2-based software.</p>
</div>
<div class="paragraph">
<p>The configuration variables are used by both the Git plumbing
and the porcelains. The variables are divided into sections, wherein
the fully qualified variable name of the variable itself is the last
dot-separated segment and the section name is everything before the last
dot. The variable names are case-insensitive, allow only alphanumeric
characters and <code>-</code>, and must start with an alphabetic character.  Some
variables may appear multiple times; we say then that the variable is
multivalued.</p>
</div>
<div class="sect2">
<h3 id="_syntax">Syntax</h3>
<div class="paragraph">
<p>The syntax is fairly flexible and permissive; whitespaces are mostly
ignored.  The <em>#</em> and <em>;</em> characters begin comments to the end of line,
blank lines are ignored.</p>
</div>
<div class="paragraph">
<p>The file consists of sections and variables.  A section begins with
the name of the section in square brackets and continues until the next
section begins.  Section names are case-insensitive.  Only alphanumeric
characters, <code>-</code> and <code>.</code> are allowed in section names.  Each variable
must belong to some section, which means that there must be a section
header before the first setting of a variable.</p>
</div>
<div class="paragraph">
<p>Sections can be further divided into subsections.  To begin a subsection
put its name in double quotes, separated by space from the section name,
in the section header, like in the example below:</p>
</div>
<div class="listingblock">
<div class="content">
<pre>	[section "subsection"]</pre>
</div>
</div>
<div class="paragraph">
<p>Subsection names are case sensitive and can contain any characters except
newline (doublequote <code>"</code> and backslash can be included by escaping them
as <code>\"</code> and <code>\\</code>, respectively).  Section headers cannot span multiple
lines.  Variables may belong directly to a section or to a given subsection.
You can have <code>[section]</code> if you have <code>[section "subsection"]</code>, but you
don&#8217;t need to.</p>
</div>
<div class="paragraph">
<p>There is also a deprecated <code>[section.subsection]</code> syntax. With this
syntax, the subsection name is converted to lower-case and is also
compared case sensitively. These subsection names follow the same
restrictions as section names.</p>
</div>
<div class="paragraph">
<p>All the other lines (and the remainder of the line after the section
header) are recognized as setting variables, in the form
<em>name = value</em> (or just <em>name</em>, which is a short-hand to say that
the variable is the boolean "true").
The variable names are case-insensitive, allow only alphanumeric characters
and <code>-</code>, and must start with an alphabetic character.</p>
</div>
<div class="paragraph">
<p>A line that defines a value can be continued to the next line by
ending it with a <code>\</code>; the backquote and the end-of-line are
stripped.  Leading whitespaces after <em>name =</em>, the remainder of the
line after the first comment character <em>#</em> or <em>;</em>, and trailing
whitespaces of the line are discarded unless they are enclosed in
double quotes.  Internal whitespaces within the value are retained
verbatim.</p>
</div>
<div class="paragraph">
<p>Inside double quotes, double quote <code>"</code> and backslash <code>\</code> characters
must be escaped: use <code>\"</code> for <code>"</code> and <code>\\</code> for <code>\</code>.</p>
</div>
<div class="paragraph">
<p>The following escape sequences (beside <code>\"</code> and <code>\\</code>) are recognized:
<code>\n</code> for newline character (NL), <code>\t</code> for horizontal tabulation (HT, TAB)
and <code>\b</code> for backspace (BS).  Other char escape sequences (including octal
escape sequences) are invalid.</p>
</div>
</div>
<div class="sect2">
<h3 id="_includes">Includes</h3>
<div class="paragraph">
<p>You can include one config file from another by setting the special
<code>include.path</code> variable to the name of the file to be included. The
included file is expanded immediately, as if its contents had been
found at the location of the include directive. If the value of the
<code>include.path</code> variable is a relative path, the path is considered to be
relative to the configuration file in which the include directive was
found. The value of <code>include.path</code> is subject to tilde expansion: <code>~/</code>
is expanded to the value of <code>$HOME</code>, and <code>~user/</code> to the specified
user&#8217;s home directory. See below for examples.</p>
</div>
</div>
<div class="sect2">
<h3 id="_example">Example</h3>
<div class="literalblock">
<div class="content">
<pre># Core variables
[core]
    ; Don't trust file modes
    filemode = false</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre># Our diff algorithm
[diff]
    external = /usr/local/bin/diff-wrapper
    renames = true</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>[branch "devel"]
    remote = origin
    merge = refs/heads/devel</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre># Proxy settings
[core]
    gitProxy="ssh" for "kernel.org"
    gitProxy=default-proxy ; for the rest</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>[include]
    path = /path/to/foo.inc ; include by absolute path
    path = foo ; expand "foo" relative to the current file
    path = ~/foo ; expand "foo" in your $HOME directory</pre>
</div>
</div>
</div>
<div class="sect2">
<h3 id="_values">Values</h3>
<div class="paragraph">
<p>Values of many variables are treated as a simple string, but there
are variables that take values of specific types and there are rules
as to how to spell them.</p>
</div>
<div class="dlist">
<dl>
<dt class="hdlist1">boolean</dt>
<dd>
<p>When a variable is said to take a boolean value, many
synonyms are accepted for <em>true</em> and <em>false</em>; these are all
case-insensitive.</p>
<div class="dlist">
<dl>
<dt class="hdlist1">true</dt>
<dd>
<p>Boolean true can be spelled as <code>yes</code>, <code>on</code>, <code>true</code>,
or <code>1</code>.  Also, a variable defined without <code>= &lt;value&gt;</code>
is taken as true.</p>
</dd>
<dt class="hdlist1">false</dt>
<dd>
<p>Boolean false can be spelled as <code>no</code>, <code>off</code>,
<code>false</code>, or <code>0</code>.</p>
<div class="paragraph">
<p>When converting value to the canonical form using <em>--bool</em> type
specifier; <em>git config</em> will ensure that the output is "true" or
"false" (spelled in lowercase).</p>
</div>
</dd>
</dl>
</div>
</dd>
<dt class="hdlist1">integer</dt>
<dd>
<p>The value for many variables that specify various sizes can
be suffixed with <code>k</code>, <code>M</code>,&#8230;&#8203; to mean "scale the number by
1024", "by 1024x1024", etc.</p>
</dd>
<dt class="hdlist1">color</dt>
<dd>
<p>The value for a variables that takes a color is a list of
colors (at most two) and attributes (at most one), separated
by spaces.  The colors accepted are <code>normal</code>, <code>black</code>,
<code>red</code>, <code>green</code>, <code>yellow</code>, <code>blue</code>, <code>magenta</code>, <code>cyan</code> and
<code>white</code>; the attributes are <code>bold</code>, <code>dim</code>, <code>ul</code>, <code>blink</code> and
<code>reverse</code>.  The first color given is the foreground; the
second is the background.  The position of the attribute, if
any, doesn&#8217;t matter. Attributes may be turned off specifically
by prefixing them with <code>no</code> (e.g., <code>noreverse</code>, <code>noul</code>, etc).</p>
<div class="paragraph">
<p>Colors (foreground and background) may also be given as numbers between
0 and 255; these use ANSI 256-color mode (but note that not all
terminals may support this).  If your terminal supports it, you may also
specify 24-bit RGB values as hex, like <code>#ff0ab3</code>.</p>
</div>
<div class="paragraph">
<p>The attributes are meant to be reset at the beginning of each item
in the colored output, so setting color.decorate.branch to <code>black</code>
will paint that branch name in a plain <code>black</code>, even if the previous
thing on the same output line (e.g. opening parenthesis before the
list of branch names in <code>log --decorate</code> output) is set to be
painted with <code>bold</code> or some other attribute.</p>
</div>
</dd>
</dl>
</div>
</div>
<div class="sect2">
<h3 id="_variables">Variables</h3>
<div class="paragraph">
<p>Note that this list is non-comprehensive and not necessarily complete.
For command-specific variables, you will find a more detailed description
in the appropriate manual page.</p>
</div>
<div class="paragraph">
<p>Other git-related tools may and do use their own variables.  When
inventing new variables for use in your own tool, make sure their
names do not conflict with those that are used by Git itself and
other popular tools, and describe them in your documentation.</p>
</div>
<div class="dlist">
<dl>
<dt class="hdlist1">advice.*</dt>
<dd>
<p>These variables control various optional help messages designed to
aid new users. All <em>advice.*</em> variables default to <em>true</em>, and you
can tell Git that you do not need help by setting these to <em>false</em>:</p>
<div class="openblock">
<div class="content">
<div class="dlist">
<dl>
<dt class="hdlist1">pushUpdateRejected</dt>
<dd>
<p>Set this variable to <em>false</em> if you want to disable
<em>pushNonFFCurrent</em>,
<em>pushNonFFMatching</em>, <em>pushAlreadyExists</em>,
<em>pushFetchFirst</em>, and <em>pushNeedsForce</em>
simultaneously.</p>
</dd>
<dt class="hdlist1">pushNonFFCurrent</dt>
<dd>
<p>Advice shown when linkgit:git-push[1] fails due to a
non-fast-forward update to the current branch.</p>
</dd>
<dt class="hdlist1">pushNonFFMatching</dt>
<dd>
<p>Advice shown when you ran linkgit:git-push[1] and pushed
<em>matching refs</em> explicitly (i.e. you used <em>:</em>, or
specified a refspec that isn&#8217;t your current branch) and
it resulted in a non-fast-forward error.</p>
</dd>
<dt class="hdlist1">pushAlreadyExists</dt>
<dd>
<p>Shown when linkgit:git-push[1] rejects an update that
does not qualify for fast-forwarding (e.g., a tag.)</p>
</dd>
<dt class="hdlist1">pushFetchFirst</dt>
<dd>
<p>Shown when linkgit:git-push[1] rejects an update that
tries to overwrite a remote ref that points at an
object we do not have.</p>
</dd>
<dt class="hdlist1">pushNeedsForce</dt>
<dd>
<p>Shown when linkgit:git-push[1] rejects an update that
tries to overwrite a remote ref that points at an
object that is not a commit-ish, or make the remote
ref point at an object that is not a commit-ish.</p>
</dd>
<dt class="hdlist1">statusHints</dt>
<dd>
<p>Show directions on how to proceed from the current
state in the output of linkgit:git-status[1], in
the template shown when writing commit messages in
linkgit:git-commit[1], and in the help message shown
by linkgit:git-checkout[1] when switching branch.</p>
</dd>
<dt class="hdlist1">statusUoption</dt>
<dd>
<p>Advise to consider using the <code>-u</code> option to linkgit:git-status[1]
when the command takes more than 2 seconds to enumerate untracked
files.</p>
</dd>
<dt class="hdlist1">commitBeforeMerge</dt>
<dd>
<p>Advice shown when linkgit:git-merge[1] refuses to
merge to avoid overwriting local changes.</p>
</dd>
<dt class="hdlist1">resolveConflict</dt>
<dd>
<p>Advice shown by various commands when conflicts
prevent the operation from being performed.</p>
</dd>
<dt class="hdlist1">implicitIdentity</dt>
<dd>
<p>Advice on how to set your identity configuration when
your information is guessed from the system username and
domain name.</p>
</dd>
<dt class="hdlist1">detachedHead</dt>
<dd>
<p>Advice shown when you used linkgit:git-checkout[1] to
move to the detach HEAD state, to instruct how to create
a local branch after the fact.</p>
</dd>
<dt class="hdlist1">amWorkDir</dt>
<dd>
<p>Advice that shows the location of the patch file when
linkgit:git-am[1] fails to apply it.</p>
</dd>
<dt class="hdlist1">rmHints</dt>
<dd>
<p>In case of failure in the output of linkgit:git-rm[1],
show directions on how to proceed from the current state.</p>
</dd>
</dl>
</div>
</div>
</div>
</dd>
<dt class="hdlist1">core.fileMode</dt>
<dd>
<p>Tells Git if the executable bit of files in the working tree
is to be honored.</p>
<div class="paragraph">
<p>Some filesystems lose the executable bit when a file that is
marked as executable is checked out, or checks out an
non-executable file with executable bit on.
linkgit:git-clone[1] or linkgit:git-init[1] probe the filesystem
to see if it handles the executable bit correctly
and this variable is automatically set as necessary.</p>
</div>
<div class="paragraph">
<p>A repository, however, may be on a filesystem that handles
the filemode correctly, and this variable is set to <em>true</em>
when created, but later may be made accessible from another
environment that loses the filemode (e.g. exporting ext4 via
CIFS mount, visiting a Cygwin created repository with
Git for Windows or Eclipse).
In such a case it may be necessary to set this variable to <em>false</em>.
See linkgit:git-update-index[1].</p>
</div>
<div class="paragraph">
<p>The default is true (when core.filemode is not specified in the config file).</p>
</div>
</dd>
<dt class="hdlist1">core.hideDotFiles</dt>
<dd>
<p>(Windows-only) If true (which is the default), mark newly-created
directories and files whose name starts with a dot as hidden.
If <em>dotGitOnly</em>, only the .git/ directory is hidden, but no other
files starting with a dot.</p>
</dd>
<dt class="hdlist1">core.ignoreCase</dt>
<dd>
<p>If true, this option enables various workarounds to enable
Git to work better on filesystems that are not case sensitive,
like FAT. For example, if a directory listing finds
"makefile" when Git expects "Makefile", Git will assume
it is really the same file, and continue to remember it as
"Makefile".</p>
<div class="paragraph">
<p>The default is false, except linkgit:git-clone[1] or linkgit:git-init[1]
will probe and set core.ignoreCase true if appropriate when the repository
is created.</p>
</div>
</dd>
<dt class="hdlist1">core.precomposeUnicode</dt>
<dd>
<p>This option is only used by Mac OS implementation of Git.
When core.precomposeUnicode=true, Git reverts the unicode decomposition
of filenames done by Mac OS. This is useful when sharing a repository
between Mac OS and Linux or Windows.
(Git for Windows 1.7.10 or higher is needed, or Git under cygwin 1.7).
When false, file names are handled fully transparent by Git,
which is backward compatible with older versions of Git.</p>
</dd>
<dt class="hdlist1">core.protectHFS</dt>
<dd>
<p>If set to true, do not allow checkout of paths that would
be considered equivalent to <code>.git</code> on an HFS+ filesystem.
Defaults to <code>true</code> on Mac OS, and <code>false</code> elsewhere.</p>
</dd>
<dt class="hdlist1">core.protectNTFS</dt>
<dd>
<p>If set to true, do not allow checkout of paths that would
cause problems with the NTFS filesystem, e.g. conflict with
8.3 "short" names.
Defaults to <code>true</code> on Windows, and <code>false</code> elsewhere.</p>
</dd>
<dt class="hdlist1">core.trustctime</dt>
<dd>
<p>If false, the ctime differences between the index and the
working tree are ignored; useful when the inode change time
is regularly modified by something outside Git (file system
crawlers and some backup systems).
See linkgit:git-update-index[1]. True by default.</p>
</dd>
<dt class="hdlist1">core.checkStat</dt>
<dd>
<p>Determines which stat fields to match between the index
and work tree. The user can set this to <em>default</em> or
<em>minimal</em>. Default (or explicitly <em>default</em>), is to check
all fields, including the sub-second part of mtime and ctime.</p>
</dd>
<dt class="hdlist1">core.quotePath</dt>
<dd>
<p>The commands that output paths (e.g. <em>ls-files</em>,
<em>diff</em>), when not given the <code>-z</code> option, will quote
"unusual" characters in the pathname by enclosing the
pathname in a double-quote pair and with backslashes the
same way strings in C source code are quoted.  If this
variable is set to false, the bytes higher than 0x80 are
not quoted but output as verbatim.  Note that double
quote, backslash and control characters are always
quoted without <code>-z</code> regardless of the setting of this
variable.</p>
</dd>
<dt class="hdlist1">core.eol</dt>
<dd>
<p>Sets the line ending type to use in the working directory for
files that have the <code>text</code> property set.  Alternatives are
<em>lf</em>, <em>crlf</em> and <em>native</em>, which uses the platform&#8217;s native
line ending.  The default value is <code>native</code>.  See
linkgit:gitattributes[5] for more information on end-of-line
conversion.</p>
</dd>
<dt class="hdlist1">core.safecrlf</dt>
<dd>
<p>If true, makes Git check if converting <code>CRLF</code> is reversible when
end-of-line conversion is active.  Git will verify if a command
modifies a file in the work tree either directly or indirectly.
For example, committing a file followed by checking out the
same file should yield the original file in the work tree.  If
this is not the case for the current setting of
<code>core.autocrlf</code>, Git will reject the file.  The variable can
be set to "warn", in which case Git will only warn about an
irreversible conversion but continue the operation.</p>
<div class="paragraph">
<p>CRLF conversion bears a slight chance of corrupting data.
When it is enabled, Git will convert CRLF to LF during commit and LF to
CRLF during checkout.  A file that contains a mixture of LF and
CRLF before the commit cannot be recreated by Git.  For text
files this is the right thing to do: it corrects line endings
such that we have only LF line endings in the repository.
But for binary files that are accidentally classified as text the
conversion can corrupt data.</p>
</div>
<div class="paragraph">
<p>If you recognize such corruption early you can easily fix it by
setting the conversion type explicitly in .gitattributes.  Right
after committing you still have the original file in your work
tree and this file is not yet corrupted.  You can explicitly tell
Git that this file is binary and Git will handle the file
appropriately.</p>
</div>
<div class="paragraph">
<p>Unfortunately, the desired effect of cleaning up text files with
mixed line endings and the undesired effect of corrupting binary
files cannot be distinguished.  In both cases CRLFs are removed
in an irreversible way.  For text files this is the right thing
to do because CRLFs are line endings, while for binary files
converting CRLFs corrupts data.</p>
</div>
<div class="paragraph">
<p>Note, this safety check does not mean that a checkout will generate a
file identical to the original file for a different setting of
<code>core.eol</code> and <code>core.autocrlf</code>, but only for the current one.  For
example, a text file with <code>LF</code> would be accepted with <code>core.eol=lf</code>
and could later be checked out with <code>core.eol=crlf</code>, in which case the
resulting file would contain <code>CRLF</code>, although the original file
contained <code>LF</code>.  However, in both work trees the line endings would be
consistent, that is either all <code>LF</code> or all <code>CRLF</code>, but never mixed.  A
file with mixed line endings would be reported by the <code>core.safecrlf</code>
mechanism.</p>
</div>
</dd>
<dt class="hdlist1">core.autocrlf</dt>
<dd>
<p>Setting this variable to "true" is almost the same as setting
the <code>text</code> attribute to "auto" on all files except that text
files are not guaranteed to be normalized: files that contain
<code>CRLF</code> in the repository will not be touched.  Use this
setting if you want to have <code>CRLF</code> line endings in your
working directory even though the repository does not have
normalized line endings.  This variable can be set to <em>input</em>,
in which case no output conversion is performed.</p>
</dd>
<dt class="hdlist1">core.symlinks</dt>
<dd>
<p>If false, symbolic links are checked out as small plain files that
contain the link text. linkgit:git-update-index[1] and
linkgit:git-add[1] will not change the recorded type to regular
file. Useful on filesystems like FAT that do not support
symbolic links.</p>
<div class="paragraph">
<p>The default is true, except linkgit:git-clone[1] or linkgit:git-init[1]
will probe and set core.symlinks false if appropriate when the repository
is created.</p>
</div>
</dd>
<dt class="hdlist1">core.gitProxy</dt>
<dd>
<p>A "proxy command" to execute (as <em>command host port</em>) instead
of establishing direct connection to the remote server when
using the Git protocol for fetching. If the variable value is
in the "COMMAND for DOMAIN" format, the command is applied only
on hostnames ending with the specified domain string. This variable
may be set multiple times and is matched in the given order;
the first match wins.</p>
<div class="paragraph">
<p>Can be overridden by the <em>GIT_PROXY_COMMAND</em> environment variable
(which always applies universally, without the special "for"
handling).</p>
</div>
<div class="paragraph">
<p>The special string <code>none</code> can be used as the proxy command to
specify that no proxy be used for a given domain pattern.
This is useful for excluding servers inside a firewall from
proxy use, while defaulting to a common proxy for external domains.</p>
</div>
</dd>
<dt class="hdlist1">core.ignoreStat</dt>
<dd>
<p>If true, Git will avoid using lstat() calls to detect if files have
changed by setting the "assume-unchanged" bit for those tracked files
which it has updated identically in both the index and working tree.</p>
<div class="paragraph">
<p>When files are modified outside of Git, the user will need to stage
the modified files explicitly (e.g. see <em>Examples</em> section in
linkgit:git-update-index[1]).
Git will not normally detect changes to those files.</p>
</div>
<div class="paragraph">
<p>This is useful on systems where lstat() calls are very slow, such as
CIFS/Microsoft Windows.</p>
</div>
<div class="paragraph">
<p>False by default.</p>
</div>
</dd>
<dt class="hdlist1">core.preferSymlinkRefs</dt>
<dd>
<p>Instead of the default "symref" format for HEAD
and other symbolic reference files, use symbolic links.
This is sometimes needed to work with old scripts that
expect HEAD to be a symbolic link.</p>
</dd>
<dt class="hdlist1">core.bare</dt>
<dd>
<p>If true this repository is assumed to be <em>bare</em> and has no
working directory associated with it.  If this is the case a
number of commands that require a working directory will be
disabled, such as linkgit:git-add[1] or linkgit:git-merge[1].</p>
<div class="paragraph">
<p>This setting is automatically guessed by linkgit:git-clone[1] or
linkgit:git-init[1] when the repository was created.  By default a
repository that ends in "/.git" is assumed to be not bare (bare =
false), while all other repositories are assumed to be bare (bare
= true).</p>
</div>
</dd>
<dt class="hdlist1">core.worktree</dt>
<dd>
<p>Set the path to the root of the working tree.
If GIT_COMMON_DIR environment variable is set, core.worktree
is ignored and not used for determining the root of working tree.
This can be overridden by the GIT_WORK_TREE environment
variable and the <em>--work-tree</em> command-line option.
The value can be an absolute path or relative to the path to
the .git directory, which is either specified by --git-dir
or GIT_DIR, or automatically discovered.
If --git-dir or GIT_DIR is specified but none of
--work-tree, GIT_WORK_TREE and core.worktree is specified,
the current working directory is regarded as the top level
of your working tree.</p>
<div class="paragraph">
<p>Note that this variable is honored even when set in a configuration
file in a ".git" subdirectory of a directory and its value differs
from the latter directory (e.g. "/path/to/.git/config" has
core.worktree set to "/different/path"), which is most likely a
misconfiguration.  Running Git commands in the "/path/to" directory will
still use "/different/path" as the root of the work tree and can cause
confusion unless you know what you are doing (e.g. you are creating a
read-only snapshot of the same index to a location different from the
repository&#8217;s usual working tree).</p>
</div>
</dd>
<dt class="hdlist1">core.logAllRefUpdates</dt>
<dd>
<p>Enable the reflog. Updates to a ref &lt;ref&gt; is logged to the file
"$GIT_DIR/logs/&lt;ref&gt;", by appending the new and old
SHA-1, the date/time and the reason of the update, but
only when the file exists.  If this configuration
variable is set to true, missing "$GIT_DIR/logs/&lt;ref&gt;"
file is automatically created for branch heads (i.e. under
refs/heads/), remote refs (i.e. under refs/remotes/),
note refs (i.e. under refs/notes/), and the symbolic ref HEAD.</p>
<div class="paragraph">
<p>This information can be used to determine what commit
was the tip of a branch "2 days ago".</p>
</div>
<div class="paragraph">
<p>This value is true by default in a repository that has
a working directory associated with it, and false by
default in a bare repository.</p>
</div>
</dd>
<dt class="hdlist1">core.repositoryFormatVersion</dt>
<dd>
<p>Internal variable identifying the repository format and layout
version.</p>
</dd>
<dt class="hdlist1">core.sharedRepository</dt>
<dd>
<p>When <em>group</em> (or <em>true</em>), the repository is made shareable between
several users in a group (making sure all the files and objects are
group-writable). When <em>all</em> (or <em>world</em> or <em>everybody</em>), the
repository will be readable by all users, additionally to being
group-shareable. When <em>umask</em> (or <em>false</em>), Git will use permissions
reported by umask(2). When <em>0xxx</em>, where <em>0xxx</em> is an octal number,
files in the repository will have this mode value. <em>0xxx</em> will override
user&#8217;s umask value (whereas the other options will only override
requested parts of the user&#8217;s umask value). Examples: <em>0660</em> will make
the repo read/write-able for the owner and group, but inaccessible to
others (equivalent to <em>group</em> unless umask is e.g. <em>0022</em>). <em>0640</em> is a
repository that is group-readable but not group-writable.
See linkgit:git-init[1]. False by default.</p>
</dd>
<dt class="hdlist1">core.warnAmbiguousRefs</dt>
<dd>
<p>If true, Git will warn you if the ref name you passed it is ambiguous
and might match multiple refs in the repository. True by default.</p>
</dd>
<dt class="hdlist1">core.compression</dt>
<dd>
<p>An integer -1..9, indicating a default compression level.
-1 is the zlib default. 0 means no compression,
and 1..9 are various speed/size tradeoffs, 9 being slowest.
If set, this provides a default to other compression variables,
such as <em>core.looseCompression</em> and <em>pack.compression</em>.</p>
</dd>
<dt class="hdlist1">core.looseCompression</dt>
<dd>
<p>An integer -1..9, indicating the compression level for objects that
are not in a pack file. -1 is the zlib default. 0 means no
compression, and 1..9 are various speed/size tradeoffs, 9 being
slowest.  If not set,  defaults to core.compression.  If that is
not set,  defaults to 1 (best speed).</p>
</dd>
<dt class="hdlist1">core.packedGitWindowSize</dt>
<dd>
<p>Number of bytes of a pack file to map into memory in a
single mapping operation.  Larger window sizes may allow
your system to process a smaller number of large pack files
more quickly.  Smaller window sizes will negatively affect
performance due to increased calls to the operating system&#8217;s
memory manager, but may improve performance when accessing
a large number of large pack files.</p>
<div class="paragraph">
<p>Default is 1 MiB if NO_MMAP was set at compile time, otherwise 32
MiB on 32 bit platforms and 1 GiB on 64 bit platforms.  This should
be reasonable for all users/operating systems.  You probably do
not need to adjust this value.</p>
</div>
<div class="paragraph">
<p>Common unit suffixes of <em>k</em>, <em>m</em>, or <em>g</em> are supported.</p>
</div>
</dd>
<dt class="hdlist1">core.packedGitLimit</dt>
<dd>
<p>Maximum number of bytes to map simultaneously into memory
from pack files.  If Git needs to access more than this many
bytes at once to complete an operation it will unmap existing
regions to reclaim virtual address space within the process.</p>
<div class="paragraph">
<p>Default is 256 MiB on 32 bit platforms and 8 GiB on 64 bit platforms.
This should be reasonable for all users/operating systems, except on
the largest projects.  You probably do not need to adjust this value.</p>
</div>
<div class="paragraph">
<p>Common unit suffixes of <em>k</em>, <em>m</em>, or <em>g</em> are supported.</p>
</div>
</dd>
<dt class="hdlist1">core.deltaBaseCacheLimit</dt>
<dd>
<p>Maximum number of bytes to reserve for caching base objects
that may be referenced by multiple deltified objects.  By storing the
entire decompressed base objects in a cache Git is able
to avoid unpacking and decompressing frequently used base
objects multiple times.</p>
<div class="paragraph">
<p>Default is 96 MiB on all platforms.  This should be reasonable
for all users/operating systems, except on the largest projects.
You probably do not need to adjust this value.</p>
</div>
<div class="paragraph">
<p>Common unit suffixes of <em>k</em>, <em>m</em>, or <em>g</em> are supported.</p>
</div>
</dd>
<dt class="hdlist1">core.bigFileThreshold</dt>
<dd>
<p>Files larger than this size are stored deflated, without
attempting delta compression.  Storing large files without
delta compression avoids excessive memory usage, at the
slight expense of increased disk usage. Additionally files
larger than this size are always treated as binary.</p>
<div class="paragraph">
<p>Default is 512 MiB on all platforms.  This should be reasonable
for most projects as source code and other text files can still
be delta compressed, but larger binary media files won&#8217;t be.</p>
</div>
<div class="paragraph">
<p>Common unit suffixes of <em>k</em>, <em>m</em>, or <em>g</em> are supported.</p>
</div>
</dd>
<dt class="hdlist1">core.excludesFile</dt>
<dd>
<p>In addition to <em>.gitignore</em> (per-directory) and
<em>.git/info/exclude</em>, Git looks into this file for patterns
of files which are not meant to be tracked.  "<code>~/</code>" is expanded
to the value of <code>$HOME</code> and "<code>~user/</code>" to the specified user&#8217;s
home directory. Its default value is $XDG_CONFIG_HOME/git/ignore.
If $XDG_CONFIG_HOME is either not set or empty, $HOME/.config/git/ignore
is used instead. See linkgit:gitignore[5].</p>
</dd>
<dt class="hdlist1">core.askPass</dt>
<dd>
<p>Some commands (e.g. svn and http interfaces) that interactively
ask for a password can be told to use an external program given
via the value of this variable. Can be overridden by the <em>GIT_ASKPASS</em>
environment variable. If not set, fall back to the value of the
<em>SSH_ASKPASS</em> environment variable or, failing that, a simple password
prompt. The external program shall be given a suitable prompt as
command-line argument and write the password on its STDOUT.</p>
</dd>
<dt class="hdlist1">core.attributesFile</dt>
<dd>
<p>In addition to <em>.gitattributes</em> (per-directory) and
<em>.git/info/attributes</em>, Git looks into this file for attributes
(see linkgit:gitattributes[5]). Path expansions are made the same
way as for <code>core.excludesFile</code>. Its default value is
$XDG_CONFIG_HOME/git/attributes. If $XDG_CONFIG_HOME is either not
set or empty, $HOME/.config/git/attributes is used instead.</p>
</dd>
<dt class="hdlist1">core.editor</dt>
<dd>
<p>Commands such as <code>commit</code> and <code>tag</code> that lets you edit
messages by launching an editor uses the value of this
variable when it is set, and the environment variable
<code>GIT_EDITOR</code> is not set.  See linkgit:git-var[1].</p>
</dd>
<dt class="hdlist1">core.commentChar</dt>
<dd>
<p>Commands such as <code>commit</code> and <code>tag</code> that lets you edit
messages consider a line that begins with this character
commented, and removes them after the editor returns
(default <em>#</em>).</p>
<div class="paragraph">
<p>If set to "auto", <code>git-commit</code> would select a character that is not
the beginning character of any line in existing commit messages.</p>
</div>
</dd>
<dt class="hdlist1">core.packedRefsTimeout</dt>
<dd>
<p>The length of time, in milliseconds, to retry when trying to
lock the <code>packed-refs</code> file. Value 0 means not to retry at
all; -1 means to try indefinitely. Default is 1000 (i.e.,
retry for 1 second).</p>
</dd>
<dt class="hdlist1">sequence.editor</dt>
<dd>
<p>Text editor used by <code>git rebase -i</code> for editing the rebase instruction file.
The value is meant to be interpreted by the shell when it is used.
It can be overridden by the <code>GIT_SEQUENCE_EDITOR</code> environment variable.
When not configured the default commit message editor is used instead.</p>
</dd>
<dt class="hdlist1">core.pager</dt>
<dd>
<p>Text viewer for use by Git commands (e.g., <em>less</em>).  The value
is meant to be interpreted by the shell.  The order of preference
is the <code>$GIT_PAGER</code> environment variable, then <code>core.pager</code>
configuration, then <code>$PAGER</code>, and then the default chosen at
compile time (usually <em>less</em>).</p>
<div class="paragraph">
<p>When the <code>LESS</code> environment variable is unset, Git sets it to <code>FRX</code>
(if <code>LESS</code> environment variable is set, Git does not change it at
all).  If you want to selectively override Git&#8217;s default setting
for <code>LESS</code>, you can set <code>core.pager</code> to e.g. <code>less -S</code>.  This will
be passed to the shell by Git, which will translate the final
command to <code>LESS=FRX less -S</code>. The environment does not set the
<code>S</code> option but the command line does, instructing less to truncate
long lines. Similarly, setting <code>core.pager</code> to <code>less -+F</code> will
deactivate the <code>F</code> option specified by the environment from the
command-line, deactivating the "quit if one screen" behavior of
<code>less</code>.  One can specifically activate some flags for particular
commands: for example, setting <code>pager.blame</code> to <code>less -S</code> enables
line truncation only for <code>git blame</code>.</p>
</div>
<div class="paragraph">
<p>Likewise, when the <code>LV</code> environment variable is unset, Git sets it
to <code>-c</code>.  You can override this setting by exporting <code>LV</code> with
another value or setting <code>core.pager</code> to <code>lv +c</code>.</p>
</div>
</dd>
<dt class="hdlist1">core.whitespace</dt>
<dd>
<p>A comma separated list of common whitespace problems to
notice.  <em>git diff</em> will use <code>color.diff.whitespace</code> to
highlight them, and <em>git apply --whitespace=error</em> will
consider them as errors.  You can prefix <code>-</code> to disable
any of them (e.g. <code>-trailing-space</code>):</p>
<div class="ulist">
<ul>
<li>
<p><code>blank-at-eol</code> treats trailing whitespaces at the end of the line
as an error (enabled by default).</p>
</li>
<li>
<p><code>space-before-tab</code> treats a space character that appears immediately
before a tab character in the initial indent part of the line as an
error (enabled by default).</p>
</li>
<li>
<p><code>indent-with-non-tab</code> treats a line that is indented with space
characters instead of the equivalent tabs as an error (not enabled by
default).</p>
</li>
<li>
<p><code>tab-in-indent</code> treats a tab character in the initial indent part of
the line as an error (not enabled by default).</p>
</li>
<li>
<p><code>blank-at-eof</code> treats blank lines added at the end of file as an error
(enabled by default).</p>
</li>
<li>
<p><code>trailing-space</code> is a short-hand to cover both <code>blank-at-eol</code> and
<code>blank-at-eof</code>.</p>
</li>
<li>
<p><code>cr-at-eol</code> treats a carriage-return at the end of line as
part of the line terminator, i.e. with it, <code>trailing-space</code>
does not trigger if the character before such a carriage-return
is not a whitespace (not enabled by default).</p>
</li>
<li>
<p><code>tabwidth=&lt;n&gt;</code> tells how many character positions a tab occupies; this
is relevant for <code>indent-with-non-tab</code> and when Git fixes <code>tab-in-indent</code>
errors. The default tab width is 8. Allowed values are 1 to 63.</p>
</li>
</ul>
</div>
</dd>
<dt class="hdlist1">core.fsyncObjectFiles</dt>
<dd>
<p>This boolean will enable <em>fsync()</em> when writing object files.</p>
<div class="paragraph">
<p>This is a total waste of time and effort on a filesystem that orders
data writes properly, but can be useful for filesystems that do not use
journalling (traditional UNIX filesystems) or that only journal metadata
and not file contents (OS X&#8217;s HFS+, or Linux ext3 with "data=writeback").</p>
</div>
</dd>
<dt class="hdlist1">core.preloadIndex</dt>
<dd>
<p>Enable parallel index preload for operations like <em>git diff</em></p>
<div class="paragraph">
<p>This can speed up operations like <em>git diff</em> and <em>git status</em> especially
on filesystems like NFS that have weak caching semantics and thus
relatively high IO latencies.  When enabled, Git will do the
index comparison to the filesystem data in parallel, allowing
overlapping IO&#8217;s.  Defaults to true.</p>
</div>
</dd>
<dt class="hdlist1">core.fscache</dt>
<dd>
<p>Enable additional caching of file system data for some operations.</p>
<div class="paragraph">
<p>Git for Windows uses this to bulk-read and cache lstat data of entire
directories (instead of doing lstat file by file).</p>
</div>
</dd>
<dt class="hdlist1">core.longpaths</dt>
<dd>
<p>Enable long path (&gt; 260) support for builtin commands in Git for
Windows. This is disabled by default, as long paths are not supported
by Windows Explorer, cmd.exe and the Git for Windows tool chain
(msys, bash, tcl, perl&#8230;&#8203;). Only enable this if you know what you&#8217;re
doing and are prepared to live with a few quirks.</p>
</dd>
<dt class="hdlist1">core.createObject</dt>
<dd>
<p>You can set this to <em>link</em>, in which case a hardlink followed by
a delete of the source are used to make sure that object creation
will not overwrite existing objects.</p>
<div class="paragraph">
<p>On some file system/operating system combinations, this is unreliable.
Set this config setting to <em>rename</em> there; However, This will remove the
check that makes sure that existing object files will not get overwritten.</p>
</div>
</dd>
<dt class="hdlist1">core.notesRef</dt>
<dd>
<p>When showing commit messages, also show notes which are stored in
the given ref.  The ref must be fully qualified.  If the given
ref does not exist, it is not an error but means that no
notes should be printed.</p>
<div class="paragraph">
<p>This setting defaults to "refs/notes/commits", and it can be overridden by
the <em>GIT_NOTES_REF</em> environment variable.  See linkgit:git-notes[1].</p>
</div>
</dd>
<dt class="hdlist1">core.sparseCheckout</dt>
<dd>
<p>Enable "sparse checkout" feature. See section "Sparse checkout" in
linkgit:git-read-tree[1] for more information.</p>
</dd>
<dt class="hdlist1">core.abbrev</dt>
<dd>
<p>Set the length object names are abbreviated to.  If unspecified,
many commands abbreviate to 7 hexdigits, which may not be enough
for abbreviated object names to stay unique for sufficiently long
time.</p>
</dd>
<dt class="hdlist1">add.ignoreErrors</dt>
<dt class="hdlist1">add.ignore-errors (deprecated)</dt>
<dd>
<p>Tells <em>git add</em> to continue adding files when some files cannot be
added due to indexing errors. Equivalent to the <em>--ignore-errors</em>
option of linkgit:git-add[1].  <code>add.ignore-errors</code> is deprecated,
as it does not follow the usual naming convention for configuration
variables.</p>
</dd>
<dt class="hdlist1">alias.*</dt>
<dd>
<p>Command aliases for the linkgit:git[1] command wrapper - e.g.
after defining "alias.last = cat-file commit HEAD", the invocation
"git last" is equivalent to "git cat-file commit HEAD". To avoid
confusion and troubles with script usage, aliases that
hide existing Git commands are ignored. Arguments are split by
spaces, the usual shell quoting and escaping is supported.
A quote pair or a backslash can be used to quote them.</p>
<div class="paragraph">
<p>If the alias expansion is prefixed with an exclamation point,
it will be treated as a shell command.  For example, defining
"alias.new = !gitk --all --not ORIG_HEAD", the invocation
"git new" is equivalent to running the shell command
"gitk --all --not ORIG_HEAD".  Note that shell commands will be
executed from the top-level directory of a repository, which may
not necessarily be the current directory.
<em>GIT_PREFIX</em> is set as returned by running <em>git rev-parse --show-prefix</em>
from the original current directory. See linkgit:git-rev-parse[1].</p>
</div>
</dd>
<dt class="hdlist1">am.keepcr</dt>
<dd>
<p>If true, git-am will call git-mailsplit for patches in mbox format
with parameter <em>--keep-cr</em>. In this case git-mailsplit will
not remove <code>\r</code> from lines ending with <code>\r\n</code>. Can be overridden
by giving <em>--no-keep-cr</em> from the command line.
See linkgit:git-am[1], linkgit:git-mailsplit[1].</p>
</dd>
<dt class="hdlist1">apply.ignoreWhitespace</dt>
<dd>
<p>When set to <em>change</em>, tells <em>git apply</em> to ignore changes in
whitespace, in the same way as the <em>--ignore-space-change</em>
option.
When set to one of: no, none, never, false tells <em>git apply</em> to
respect all whitespace differences.
See linkgit:git-apply[1].</p>
</dd>
<dt class="hdlist1">apply.whitespace</dt>
<dd>
<p>Tells <em>git apply</em> how to handle whitespaces, in the same way
as the <em>--whitespace</em> option. See linkgit:git-apply[1].</p>
</dd>
<dt class="hdlist1">branch.autoSetupMerge</dt>
<dd>
<p>Tells <em>git branch</em> and <em>git checkout</em> to set up new branches
so that linkgit:git-pull[1] will appropriately merge from the
starting point branch. Note that even if this option is not set,
this behavior can be chosen per-branch using the <code>--track</code>
and <code>--no-track</code> options. The valid settings are: <code>false</code>&#8201;&#8212;&#8201;no
automatic setup is done; <code>true</code>&#8201;&#8212;&#8201;automatic setup is done when the
starting point is a remote-tracking branch; <code>always</code>&#8201;&#8212;&#8201;automatic setup is done when the starting point is either a
local branch or remote-tracking
branch. This option defaults to true.</p>
</dd>
<dt class="hdlist1">branch.autoSetupRebase</dt>
<dd>
<p>When a new branch is created with <em>git branch</em> or <em>git checkout</em>
that tracks another branch, this variable tells Git to set
up pull to rebase instead of merge (see "branch.&lt;name&gt;.rebase").
When <code>never</code>, rebase is never automatically set to true.
When <code>local</code>, rebase is set to true for tracked branches of
other local branches.
When <code>remote</code>, rebase is set to true for tracked branches of
remote-tracking branches.
When <code>always</code>, rebase will be set to true for all tracking
branches.
See "branch.autoSetupMerge" for details on how to set up a
branch to track another branch.
This option defaults to never.</p>
</dd>
<dt class="hdlist1">branch.&lt;name&gt;.remote</dt>
<dd>
<p>When on branch &lt;name&gt;, it tells <em>git fetch</em> and <em>git push</em>
which remote to fetch from/push to.  The remote to push to
may be overridden with <code>remote.pushDefault</code> (for all branches).
The remote to push to, for the current branch, may be further
overridden by <code>branch.&lt;name&gt;.pushRemote</code>.  If no remote is
configured, or if you are not on any branch, it defaults to
<code>origin</code> for fetching and <code>remote.pushDefault</code> for pushing.
Additionally, <code>.</code> (a period) is the current local repository
(a dot-repository), see <code>branch.&lt;name&gt;.merge</code>'s final note below.</p>
</dd>
<dt class="hdlist1">branch.&lt;name&gt;.pushRemote</dt>
<dd>
<p>When on branch &lt;name&gt;, it overrides <code>branch.&lt;name&gt;.remote</code> for
pushing.  It also overrides <code>remote.pushDefault</code> for pushing
from branch &lt;name&gt;.  When you pull from one place (e.g. your
upstream) and push to another place (e.g. your own publishing
repository), you would want to set <code>remote.pushDefault</code> to
specify the remote to push to for all branches, and use this
option to override it for a specific branch.</p>
</dd>
<dt class="hdlist1">branch.&lt;name&gt;.merge</dt>
<dd>
<p>Defines, together with branch.&lt;name&gt;.remote, the upstream branch
for the given branch. It tells <em>git fetch</em>/<em>git pull</em>/<em>git rebase</em> which
branch to merge and can also affect <em>git push</em> (see push.default).
When in branch &lt;name&gt;, it tells <em>git fetch</em> the default
refspec to be marked for merging in FETCH_HEAD. The value is
handled like the remote part of a refspec, and must match a
ref which is fetched from the remote given by
"branch.&lt;name&gt;.remote".
The merge information is used by <em>git pull</em> (which at first calls
<em>git fetch</em>) to lookup the default branch for merging. Without
this option, <em>git pull</em> defaults to merge the first refspec fetched.
Specify multiple values to get an octopus merge.
If you wish to setup <em>git pull</em> so that it merges into &lt;name&gt; from
another branch in the local repository, you can point
branch.&lt;name&gt;.merge to the desired branch, and use the relative path
setting <code>.</code> (a period) for branch.&lt;name&gt;.remote.</p>
</dd>
<dt class="hdlist1">branch.&lt;name&gt;.mergeOptions</dt>
<dd>
<p>Sets default options for merging into branch &lt;name&gt;. The syntax and
supported options are the same as those of linkgit:git-merge[1], but
option values containing whitespace characters are currently not
supported.</p>
</dd>
<dt class="hdlist1">branch.&lt;name&gt;.rebase</dt>
<dd>
<p>When true, rebase the branch &lt;name&gt; on top of the fetched branch,
instead of merging the default branch from the default remote when
"git pull" is run. See "pull.rebase" for doing this in a non
branch-specific manner.
When the value is <code>interactive</code>, the rebase is run in interactive mode.</p>
<div class="literalblock">
<div class="content">
<pre>When preserve, also pass `--preserve-merges` along to 'git rebase'
so that locally committed merge commits will not be flattened
by running 'git pull'.</pre>
</div>
</div>
<div class="paragraph">
<p><strong>NOTE</strong>: this is a possibly dangerous operation; do <strong>not</strong> use
it unless you understand the implications (see linkgit:git-rebase[1]
for details).</p>
</div>
</dd>
<dt class="hdlist1">branch.&lt;name&gt;.description</dt>
<dd>
<p>Branch description, can be edited with
<code>git branch --edit-description</code>. Branch description is
automatically added in the format-patch cover letter or
request-pull summary.</p>
</dd>
<dt class="hdlist1">browser.&lt;tool&gt;.cmd</dt>
<dd>
<p>Specify the command to invoke the specified browser. The
specified command is evaluated in shell with the URLs passed
as arguments. (See linkgit:git-web&#45;&#45;browse[1].)</p>
</dd>
<dt class="hdlist1">browser.&lt;tool&gt;.path</dt>
<dd>
<p>Override the path for the given tool that may be used to
browse HTML help (see <em>-w</em> option in linkgit:git-help[1]) or a
working repository in gitweb (see linkgit:git-instaweb[1]).</p>
</dd>
<dt class="hdlist1">clean.requireForce</dt>
<dd>
<p>A boolean to make git-clean do nothing unless given -f,
-i or -n.   Defaults to true.</p>
</dd>
<dt class="hdlist1">color.branch</dt>
<dd>
<p>A boolean to enable/disable color in the output of
linkgit:git-branch[1]. May be set to <code>always</code>,
<code>false</code> (or <code>never</code>) or <code>auto</code> (or <code>true</code>), in which case colors are used
only when the output is to a terminal. Defaults to false.</p>
</dd>
<dt class="hdlist1">color.branch.&lt;slot&gt;</dt>
<dd>
<p>Use customized color for branch coloration. <code>&lt;slot&gt;</code> is one of
<code>current</code> (the current branch), <code>local</code> (a local branch),
<code>remote</code> (a remote-tracking branch in refs/remotes/),
<code>upstream</code> (upstream tracking branch), <code>plain</code> (other
refs).</p>
</dd>
<dt class="hdlist1">color.diff</dt>
<dd>
<p>Whether to use ANSI escape sequences to add color to patches.
If this is set to <code>always</code>, linkgit:git-diff[1],
linkgit:git-log[1], and linkgit:git-show[1] will use color
for all patches.  If it is set to <code>true</code> or <code>auto</code>, those
commands will only use color when output is to the terminal.
Defaults to false.</p>
<div class="paragraph">
<p>This does not affect linkgit:git-format-patch[1] or the
<em>git-diff-*</em> plumbing commands.  Can be overridden on the
command line with the <code>--color[=&lt;when&gt;]</code> option.</p>
</div>
</dd>
<dt class="hdlist1">color.diff.&lt;slot&gt;</dt>
<dd>
<p>Use customized color for diff colorization.  <code>&lt;slot&gt;</code> specifies
which part of the patch to use the specified color, and is one
of <code>context</code> (context text - <code>plain</code> is a historical synonym),
<code>meta</code> (metainformation), <code>frag</code>
(hunk header), <em>func</em> (function in hunk header), <code>old</code> (removed lines),
<code>new</code> (added lines), <code>commit</code> (commit headers), or <code>whitespace</code>
(highlighting whitespace errors).</p>
</dd>
<dt class="hdlist1">color.decorate.&lt;slot&gt;</dt>
<dd>
<p>Use customized color for <em>git log --decorate</em> output.  <code>&lt;slot&gt;</code> is one
of <code>branch</code>, <code>remoteBranch</code>, <code>tag</code>, <code>stash</code> or <code>HEAD</code> for local
branches, remote-tracking branches, tags, stash and HEAD, respectively.</p>
</dd>
<dt class="hdlist1">color.grep</dt>
<dd>
<p>When set to <code>always</code>, always highlight matches.  When <code>false</code> (or
<code>never</code>), never.  When set to <code>true</code> or <code>auto</code>, use color only
when the output is written to the terminal.  Defaults to <code>false</code>.</p>
</dd>
<dt class="hdlist1">color.grep.&lt;slot&gt;</dt>
<dd>
<p>Use customized color for grep colorization.  <code>&lt;slot&gt;</code> specifies which
part of the line to use the specified color, and is one of</p>
<div class="openblock">
<div class="content">
<div class="dlist">
<dl>
<dt class="hdlist1"><code>context</code></dt>
<dd>
<p>non-matching text in context lines (when using <code>-A</code>, <code>-B</code>, or <code>-C</code>)</p>
</dd>
<dt class="hdlist1"><code>filename</code></dt>
<dd>
<p>filename prefix (when not using <code>-h</code>)</p>
</dd>
<dt class="hdlist1"><code>function</code></dt>
<dd>
<p>function name lines (when using <code>-p</code>)</p>
</dd>
<dt class="hdlist1"><code>linenumber</code></dt>
<dd>
<p>line number prefix (when using <code>-n</code>)</p>
</dd>
<dt class="hdlist1"><code>match</code></dt>
<dd>
<p>matching text (same as setting <code>matchContext</code> and <code>matchSelected</code>)</p>
</dd>
<dt class="hdlist1"><code>matchContext</code></dt>
<dd>
<p>matching text in context lines</p>
</dd>
<dt class="hdlist1"><code>matchSelected</code></dt>
<dd>
<p>matching text in selected lines</p>
</dd>
<dt class="hdlist1"><code>selected</code></dt>
<dd>
<p>non-matching text in selected lines</p>
</dd>
<dt class="hdlist1"><code>separator</code></dt>
<dd>
<p>separators between fields on a line (<code>:</code>, <code>-</code>, and <code>=</code>)
and between hunks (<code>--</code>)</p>
</dd>
</dl>
</div>
</div>
</div>
</dd>
<dt class="hdlist1">color.interactive</dt>
<dd>
<p>When set to <code>always</code>, always use colors for interactive prompts
and displays (such as those used by "git-add --interactive" and
"git-clean --interactive"). When false (or <code>never</code>), never.
When set to <code>true</code> or <code>auto</code>, use colors only when the output is
to the terminal. Defaults to false.</p>
</dd>
<dt class="hdlist1">color.interactive.&lt;slot&gt;</dt>
<dd>
<p>Use customized color for <em>git add --interactive</em> and <em>git clean
--interactive</em> output. <code>&lt;slot&gt;</code> may be <code>prompt</code>, <code>header</code>, <code>help</code>
or <code>error</code>, for four distinct types of normal output from
interactive commands.</p>
</dd>
<dt class="hdlist1">color.pager</dt>
<dd>
<p>A boolean to enable/disable colored output when the pager is in
use (default is true).</p>
</dd>
<dt class="hdlist1">color.showBranch</dt>
<dd>
<p>A boolean to enable/disable color in the output of
linkgit:git-show-branch[1]. May be set to <code>always</code>,
<code>false</code> (or <code>never</code>) or <code>auto</code> (or <code>true</code>), in which case colors are used
only when the output is to a terminal. Defaults to false.</p>
</dd>
<dt class="hdlist1">color.status</dt>
<dd>
<p>A boolean to enable/disable color in the output of
linkgit:git-status[1]. May be set to <code>always</code>,
<code>false</code> (or <code>never</code>) or <code>auto</code> (or <code>true</code>), in which case colors are used
only when the output is to a terminal. Defaults to false.</p>
</dd>
<dt class="hdlist1">color.status.&lt;slot&gt;</dt>
<dd>
<p>Use customized color for status colorization. <code>&lt;slot&gt;</code> is
one of <code>header</code> (the header text of the status message),
<code>added</code> or <code>updated</code> (files which are added but not committed),
<code>changed</code> (files which are changed but not added in the index),
<code>untracked</code> (files which are not tracked by Git),
<code>branch</code> (the current branch),
<code>nobranch</code> (the color the <em>no branch</em> warning is shown in, defaulting
to red), or
<code>unmerged</code> (files which have unmerged changes).</p>
</dd>
<dt class="hdlist1">color.ui</dt>
<dd>
<p>This variable determines the default value for variables such
as <code>color.diff</code> and <code>color.grep</code> that control the use of color
per command family. Its scope will expand as more commands learn
configuration to set a default for the <code>--color</code> option.  Set it
to <code>false</code> or <code>never</code> if you prefer Git commands not to use
color unless enabled explicitly with some other configuration
or the <code>--color</code> option. Set it to <code>always</code> if you want all
output not intended for machine consumption to use color, to
<code>true</code> or <code>auto</code> (this is the default since Git 1.8.4) if you
want such output to use color when written to the terminal.</p>
</dd>
<dt class="hdlist1">column.ui</dt>
<dd>
<p>Specify whether supported commands should output in columns.
This variable consists of a list of tokens separated by spaces
or commas:</p>
<div class="paragraph">
<p>These options control when the feature should be enabled
(defaults to <em>never</em>):</p>
</div>
<div class="openblock">
<div class="content">
<div class="dlist">
<dl>
<dt class="hdlist1"><code>always</code></dt>
<dd>
<p>always show in columns</p>
</dd>
<dt class="hdlist1"><code>never</code></dt>
<dd>
<p>never show in columns</p>
</dd>
<dt class="hdlist1"><code>auto</code></dt>
<dd>
<p>show in columns if the output is to the terminal</p>
</dd>
</dl>
</div>
</div>
</div>
<div class="paragraph">
<p>These options control layout (defaults to <em>column</em>).  Setting any
of these implies <em>always</em> if none of <em>always</em>, <em>never</em>, or <em>auto</em> are
specified.</p>
</div>
<div class="openblock">
<div class="content">
<div class="dlist">
<dl>
<dt class="hdlist1"><code>column</code></dt>
<dd>
<p>fill columns before rows</p>
</dd>
<dt class="hdlist1"><code>row</code></dt>
<dd>
<p>fill rows before columns</p>
</dd>
<dt class="hdlist1"><code>plain</code></dt>
<dd>
<p>show in one column</p>
</dd>
</dl>
</div>
</div>
</div>
<div class="paragraph">
<p>Finally, these options can be combined with a layout option (defaults
to <em>nodense</em>):</p>
</div>
<div class="openblock">
<div class="content">
<div class="dlist">
<dl>
<dt class="hdlist1"><code>dense</code></dt>
<dd>
<p>make unequal size columns to utilize more space</p>
</dd>
<dt class="hdlist1"><code>nodense</code></dt>
<dd>
<p>make equal size columns</p>
</dd>
</dl>
</div>
</div>
</div>
</dd>
<dt class="hdlist1">column.branch</dt>
<dd>
<p>Specify whether to output branch listing in <code>git branch</code> in columns.
See <code>column.ui</code> for details.</p>
</dd>
<dt class="hdlist1">column.clean</dt>
<dd>
<p>Specify the layout when list items in <code>git clean -i</code>, which always
shows files and directories in columns. See <code>column.ui</code> for details.</p>
</dd>
<dt class="hdlist1">column.status</dt>
<dd>
<p>Specify whether to output untracked files in <code>git status</code> in columns.
See <code>column.ui</code> for details.</p>
</dd>
<dt class="hdlist1">column.tag</dt>
<dd>
<p>Specify whether to output tag listing in <code>git tag</code> in columns.
See <code>column.ui</code> for details.</p>
</dd>
<dt class="hdlist1">commit.cleanup</dt>
<dd>
<p>This setting overrides the default of the <code>--cleanup</code> option in
<code>git commit</code>. See linkgit:git-commit[1] for details. Changing the
default can be useful when you always want to keep lines that begin
with comment character <code>#</code> in your log message, in which case you
would do <code>git config commit.cleanup whitespace</code> (note that you will
have to remove the help lines that begin with <code>#</code> in the commit log
template yourself, if you do this).</p>
</dd>
<dt class="hdlist1">commit.gpgSign</dt>
<dd>
<p>A boolean to specify whether all commits should be GPG signed.
Use of this option when doing operations such as rebase can
result in a large number of commits being signed. It may be
convenient to use an agent to avoid typing your GPG passphrase
several times.</p>
</dd>
<dt class="hdlist1">commit.status</dt>
<dd>
<p>A boolean to enable/disable inclusion of status information in the
commit message template when using an editor to prepare the commit
message.  Defaults to true.</p>
</dd>
<dt class="hdlist1">commit.template</dt>
<dd>
<p>Specify a file to use as the template for new commit messages.
"<code>~/</code>" is expanded to the value of <code>$HOME</code> and "<code>~user/</code>" to the
specified user&#8217;s home directory.</p>
</dd>
<dt class="hdlist1">credential.helper</dt>
<dd>
<p>Specify an external helper to be called when a username or
password credential is needed; the helper may consult external
storage to avoid prompting the user for the credentials. See
linkgit:gitcredentials[7] for details.</p>
</dd>
<dt class="hdlist1">credential.useHttpPath</dt>
<dd>
<p>When acquiring credentials, consider the "path" component of an http
or https URL to be important. Defaults to false. See
linkgit:gitcredentials[7] for more information.</p>
</dd>
<dt class="hdlist1">credential.username</dt>
<dd>
<p>If no username is set for a network authentication, use this username
by default. See credential.&lt;context&gt;.* below, and
linkgit:gitcredentials[7].</p>
</dd>
<dt class="hdlist1">credential.&lt;url&gt;.*</dt>
<dd>
<p>Any of the credential.* options above can be applied selectively to
some credentials. For example "credential.https://example.com.username"
would set the default username only for https connections to
example.com. See linkgit:gitcredentials[7] for details on how URLs are
matched.</p>
</dd>
<dt class="hdlist1">diff.autoRefreshIndex</dt>
<dd>
<p>When using <em>git diff</em> to compare with work tree
files, do not consider stat-only change as changed.
Instead, silently run <code>git update-index --refresh</code> to
update the cached stat information for paths whose
contents in the work tree match the contents in the
index.  This option defaults to true.  Note that this
affects only <em>git diff</em> Porcelain, and not lower level
<em>diff</em> commands such as <em>git diff-files</em>.</p>
</dd>
<dt class="hdlist1">diff.dirstat</dt>
<dd>
<p>A comma separated list of <code>--dirstat</code> parameters specifying the
default behavior of the <code>--dirstat</code> option to linkgit:git-diff[1]`
and friends. The defaults can be overridden on the command line
(using <code>--dirstat=&lt;param1,param2,...&gt;</code>). The fallback defaults
(when not changed by <code>diff.dirstat</code>) are <code>changes,noncumulative,3</code>.
The following parameters are available:</p>
<div class="openblock">
<div class="content">
<div class="dlist">
<dl>
<dt class="hdlist1"><code>changes</code></dt>
<dd>
<p>Compute the dirstat numbers by counting the lines that have been
removed from the source, or added to the destination. This ignores
the amount of pure code movements within a file.  In other words,
rearranging lines in a file is not counted as much as other changes.
This is the default behavior when no parameter is given.</p>
</dd>
<dt class="hdlist1"><code>lines</code></dt>
<dd>
<p>Compute the dirstat numbers by doing the regular line-based diff
analysis, and summing the removed/added line counts. (For binary
files, count 64-byte chunks instead, since binary files have no
natural concept of lines). This is a more expensive <code>--dirstat</code>
behavior than the <code>changes</code> behavior, but it does count rearranged
lines within a file as much as other changes. The resulting output
is consistent with what you get from the other <code>--*stat</code> options.</p>
</dd>
<dt class="hdlist1"><code>files</code></dt>
<dd>
<p>Compute the dirstat numbers by counting the number of files changed.
Each changed file counts equally in the dirstat analysis. This is
the computationally cheapest <code>--dirstat</code> behavior, since it does
not have to look at the file contents at all.</p>
</dd>
<dt class="hdlist1"><code>cumulative</code></dt>
<dd>
<p>Count changes in a child directory for the parent directory as well.
Note that when using <code>cumulative</code>, the sum of the percentages
reported may exceed 100%. The default (non-cumulative) behavior can
be specified with the <code>noncumulative</code> parameter.</p>
</dd>
<dt class="hdlist1">&lt;limit&gt;</dt>
<dd>
<p>An integer parameter specifies a cut-off percent (3% by default).
Directories contributing less than this percentage of the changes
are not shown in the output.</p>
</dd>
</dl>
</div>
</div>
</div>
<div class="paragraph">
<p>Example: The following will count changed files, while ignoring
directories with less than 10% of the total amount of changed files,
and accumulating child directory counts in the parent directories:
<code>files,10,cumulative</code>.</p>
</div>
</dd>
<dt class="hdlist1">diff.statGraphWidth</dt>
<dd>
<p>Limit the width of the graph part in --stat output. If set, applies
to all commands generating --stat output except format-patch.</p>
</dd>
<dt class="hdlist1">diff.context</dt>
<dd>
<p>Generate diffs with &lt;n&gt; lines of context instead of the default
of 3. This value is overridden by the -U option.</p>
</dd>
<dt class="hdlist1">diff.external</dt>
<dd>
<p>If this config variable is set, diff generation is not
performed using the internal diff machinery, but using the
given command.  Can be overridden with the &#8216;GIT_EXTERNAL_DIFF&#8217;
environment variable.  The command is called with parameters
as described under "git Diffs" in linkgit:git[1].  Note: if
you want to use an external diff program only on a subset of
your files, you    might want to use linkgit:gitattributes[5] instead.</p>
</dd>
<dt class="hdlist1">diff.ignoreSubmodules</dt>
<dd>
<p>Sets the default value of --ignore-submodules. Note that this
affects only <em>git diff</em> Porcelain, and not lower level <em>diff</em>
commands such as <em>git diff-files</em>. <em>git checkout</em> also honors
this setting when reporting uncommitted changes. Setting it to
<em>all</em> disables the submodule summary normally shown by <em>git commit</em>
and <em>git status</em> when <em>status.submoduleSummary</em> is set unless it is
overridden by using the --ignore-submodules command-line option.
The <em>git submodule</em> commands are not affected by this setting.</p>
</dd>
<dt class="hdlist1">diff.mnemonicPrefix</dt>
<dd>
<p>If set, <em>git diff</em> uses a prefix pair that is different from the
standard "a/" and "b/" depending on what is being compared.  When
this configuration is in effect, reverse diff output also swaps
the order of the prefixes:</p>
<div class="dlist">
<dl>
<dt class="hdlist1"><code>git diff</code></dt>
<dd>
<p>compares the (i)ndex and the (w)ork tree;</p>
</dd>
<dt class="hdlist1"><code>git diff HEAD</code></dt>
<dd>
<p>compares a (c)ommit and the (w)ork tree;</p>
</dd>
<dt class="hdlist1"><code>git diff --cached</code></dt>
<dd>
<p>compares a (c)ommit and the (i)ndex;</p>
</dd>
<dt class="hdlist1"><code>git diff HEAD:file1 file2</code></dt>
<dd>
<p>compares an (o)bject and a (w)ork tree entity;</p>
</dd>
<dt class="hdlist1"><code>git diff --no-index a b</code></dt>
<dd>
<p>compares two non-git things (1) and (2).</p>
</dd>
</dl>
</div>
</dd>
<dt class="hdlist1">diff.noprefix</dt>
<dd>
<p>If set, <em>git diff</em> does not show any source or destination prefix.</p>
</dd>
<dt class="hdlist1">diff.orderFile</dt>
<dd>
<p>File indicating how to order files within a diff, using
one shell glob pattern per line.
Can be overridden by the <em>-O</em> option to linkgit:git-diff[1].</p>
</dd>
<dt class="hdlist1">diff.renameLimit</dt>
<dd>
<p>The number of files to consider when performing the copy/rename
detection; equivalent to the <em>git diff</em> option <em>-l</em>.</p>
</dd>
<dt class="hdlist1">diff.renames</dt>
<dd>
<p>Tells Git to detect renames.  If set to any boolean value, it
will enable basic rename detection.  If set to "copies" or
"copy", it will detect copies, as well.</p>
</dd>
<dt class="hdlist1">diff.suppressBlankEmpty</dt>
<dd>
<p>A boolean to inhibit the standard behavior of printing a space
before each empty output line. Defaults to false.</p>
</dd>
<dt class="hdlist1">diff.submodule</dt>
<dd>
<p>Specify the format in which differences in submodules are
shown.  The "log" format lists the commits in the range like
linkgit:git-submodule[1] <code>summary</code> does.  The "short" format
format just shows the names of the commits at the beginning
and end of the range.  Defaults to short.</p>
</dd>
<dt class="hdlist1">diff.wordRegex</dt>
<dd>
<p>A POSIX Extended Regular Expression used to determine what is a "word"
when performing word-by-word difference calculations.  Character
sequences that match the regular expression are "words", all other
characters are <strong>ignorable</strong> whitespace.</p>
</dd>
<dt class="hdlist1">diff.&lt;driver&gt;.command</dt>
<dd>
<p>The custom diff driver command.  See linkgit:gitattributes[5]
for details.</p>
</dd>
<dt class="hdlist1">diff.&lt;driver&gt;.xfuncname</dt>
<dd>
<p>The regular expression that the diff driver should use to
recognize the hunk header.  A built-in pattern may also be used.
See linkgit:gitattributes[5] for details.</p>
</dd>
<dt class="hdlist1">diff.&lt;driver&gt;.binary</dt>
<dd>
<p>Set this option to true to make the diff driver treat files as
binary.  See linkgit:gitattributes[5] for details.</p>
</dd>
<dt class="hdlist1">diff.&lt;driver&gt;.textconv</dt>
<dd>
<p>The command that the diff driver should call to generate the
text-converted version of a file.  The result of the
conversion is used to generate a human-readable diff.  See
linkgit:gitattributes[5] for details.</p>
</dd>
<dt class="hdlist1">diff.&lt;driver&gt;.wordRegex</dt>
<dd>
<p>The regular expression that the diff driver should use to
split words in a line.  See linkgit:gitattributes[5] for
details.</p>
</dd>
<dt class="hdlist1">diff.&lt;driver&gt;.cachetextconv</dt>
<dd>
<p>Set this option to true to make the diff driver cache the text
conversion outputs.  See linkgit:gitattributes[5] for details.</p>
</dd>
<dt class="hdlist1">diff.tool</dt>
<dd>
<p>Controls which diff tool is used by linkgit:git-difftool[1].
This variable overrides the value configured in <code>merge.tool</code>.
The list below shows the valid built-in values.
Any other value is treated as a custom diff tool and requires
that a corresponding difftool.&lt;tool&gt;.cmd variable is defined.</p>
<div class="ulist">
<ul>
<li>
<p>araxis</p>
</li>
<li>
<p>bc</p>
</li>
<li>
<p>bc3</p>
</li>
<li>
<p>codecompare</p>
</li>
<li>
<p>deltawalker</p>
</li>
<li>
<p>diffmerge</p>
</li>
<li>
<p>diffuse</p>
</li>
<li>
<p>ecmerge</p>
</li>
<li>
<p>emerge</p>
</li>
<li>
<p>gvimdiff</p>
</li>
<li>
<p>gvimdiff2</p>
</li>
<li>
<p>gvimdiff3</p>
</li>
<li>
<p>kdiff3</p>
</li>
<li>
<p>kompare</p>
</li>
<li>
<p>meld</p>
</li>
<li>
<p>opendiff</p>
</li>
<li>
<p>p4merge</p>
</li>
<li>
<p>tkdiff</p>
</li>
<li>
<p>vimdiff</p>
</li>
<li>
<p>vimdiff2</p>
</li>
<li>
<p>vimdiff3</p>
</li>
<li>
<p>winmerge</p>
</li>
<li>
<p>xxdiff</p>
</li>
</ul>
</div>
</dd>
<dt class="hdlist1">diff.algorithm</dt>
<dd>
<p>Choose a diff algorithm.  The variants are as follows:</p>
<div class="openblock">
<div class="content">
<div class="dlist">
<dl>
<dt class="hdlist1"><code>default</code>, <code>myers</code></dt>
<dd>
<p>The basic greedy diff algorithm. Currently, this is the default.</p>
</dd>
<dt class="hdlist1"><code>minimal</code></dt>
<dd>
<p>Spend extra time to make sure the smallest possible diff is
produced.</p>
</dd>
<dt class="hdlist1"><code>patience</code></dt>
<dd>
<p>Use "patience diff" algorithm when generating patches.</p>
</dd>
<dt class="hdlist1"><code>histogram</code></dt>
<dd>
<p>This algorithm extends the patience algorithm to "support
low-occurrence common elements".</p>
</dd>
</dl>
</div>
</div>
</div>
</dd>
<dt class="hdlist1">difftool.&lt;tool&gt;.path</dt>
<dd>
<p>Override the path for the given tool.  This is useful in case
your tool is not in the PATH.</p>
</dd>
<dt class="hdlist1">difftool.&lt;tool&gt;.cmd</dt>
<dd>
<p>Specify the command to invoke the specified diff tool.
The specified command is evaluated in shell with the following
variables available:  <em>LOCAL</em> is set to the name of the temporary
file containing the contents of the diff pre-image and <em>REMOTE</em>
is set to the name of the temporary file containing the contents
of the diff post-image.</p>
</dd>
<dt class="hdlist1">difftool.prompt</dt>
<dd>
<p>Prompt before each invocation of the diff tool.</p>
</dd>
<dt class="hdlist1">fetch.recurseSubmodules</dt>
<dd>
<p>This option can be either set to a boolean value or to <em>on-demand</em>.
Setting it to a boolean changes the behavior of fetch and pull to
unconditionally recurse into submodules when set to true or to not
recurse at all when set to false. When set to <em>on-demand</em> (the default
value), fetch and pull will only recurse into a populated submodule
when its superproject retrieves a commit that updates the submodule&#8217;s
reference.</p>
</dd>
<dt class="hdlist1">fetch.fsckObjects</dt>
<dd>
<p>If it is set to true, git-fetch-pack will check all fetched
objects. It will abort in the case of a malformed object or a
broken link. The result of an abort are only dangling objects.
Defaults to false. If not set, the value of <code>transfer.fsckObjects</code>
is used instead.</p>
</dd>
<dt class="hdlist1">fetch.unpackLimit</dt>
<dd>
<p>If the number of objects fetched over the Git native
transfer is below this
limit, then the objects will be unpacked into loose object
files. However if the number of received objects equals or
exceeds this limit then the received pack will be stored as
a pack, after adding any missing delta bases.  Storing the
pack from a push can make the push operation complete faster,
especially on slow filesystems.  If not set, the value of
<code>transfer.unpackLimit</code> is used instead.</p>
</dd>
<dt class="hdlist1">fetch.prune</dt>
<dd>
<p>If true, fetch will automatically behave as if the <code>--prune</code>
option was given on the command line.  See also <code>remote.&lt;name&gt;.prune</code>.</p>
</dd>
<dt class="hdlist1">format.attach</dt>
<dd>
<p>Enable multipart/mixed attachments as the default for
<em>format-patch</em>.  The value can also be a double quoted string
which will enable attachments as the default and set the
value as the boundary.  See the --attach option in
linkgit:git-format-patch[1].</p>
</dd>
<dt class="hdlist1">format.numbered</dt>
<dd>
<p>A boolean which can enable or disable sequence numbers in patch
subjects.  It defaults to "auto" which enables it only if there
is more than one patch.  It can be enabled or disabled for all
messages by setting it to "true" or "false".  See --numbered
option in linkgit:git-format-patch[1].</p>
</dd>
<dt class="hdlist1">format.headers</dt>
<dd>
<p>Additional email headers to include in a patch to be submitted
by mail.  See linkgit:git-format-patch[1].</p>
</dd>
<dt class="hdlist1">format.to</dt>
<dt class="hdlist1">format.cc</dt>
<dd>
<p>Additional recipients to include in a patch to be submitted
by mail.  See the --to and --cc options in
linkgit:git-format-patch[1].</p>
</dd>
<dt class="hdlist1">format.subjectPrefix</dt>
<dd>
<p>The default for format-patch is to output files with the <em>[PATCH]</em>
subject prefix. Use this variable to change that prefix.</p>
</dd>
<dt class="hdlist1">format.signature</dt>
<dd>
<p>The default for format-patch is to output a signature containing
the Git version number. Use this variable to change that default.
Set this variable to the empty string ("") to suppress
signature generation.</p>
</dd>
<dt class="hdlist1">format.signatureFile</dt>
<dd>
<p>Works just like format.signature except the contents of the
file specified by this variable will be used as the signature.</p>
</dd>
<dt class="hdlist1">format.suffix</dt>
<dd>
<p>The default for format-patch is to output files with the suffix
<code>.patch</code>. Use this variable to change that suffix (make sure to
include the dot if you want it).</p>
</dd>
<dt class="hdlist1">format.pretty</dt>
<dd>
<p>The default pretty format for log/show/whatchanged command,
See linkgit:git-log[1], linkgit:git-show[1],
linkgit:git-whatchanged[1].</p>
</dd>
<dt class="hdlist1">format.thread</dt>
<dd>
<p>The default threading style for <em>git format-patch</em>.  Can be
a boolean value, or <code>shallow</code> or <code>deep</code>.  <code>shallow</code> threading
makes every mail a reply to the head of the series,
where the head is chosen from the cover letter, the
<code>--in-reply-to</code>, and the first patch mail, in this order.
<code>deep</code> threading makes every mail a reply to the previous one.
A true boolean value is the same as <code>shallow</code>, and a false
value disables threading.</p>
</dd>
<dt class="hdlist1">format.signOff</dt>
<dd>
<p>A boolean value which lets you enable the <code>-s/--signoff</code> option of
format-patch by default. <strong>Note:</strong> Adding the Signed-off-by: line to a
patch should be a conscious act and means that you certify you have
the rights to submit this work under the same open source license.
Please see the <em>SubmittingPatches</em> document for further discussion.</p>
</dd>
<dt class="hdlist1">format.coverLetter</dt>
<dd>
<p>A boolean that controls whether to generate a cover-letter when
format-patch is invoked, but in addition can be set to "auto", to
generate a cover-letter only when there&#8217;s more than one patch.</p>
</dd>
<dt class="hdlist1">filter.&lt;driver&gt;.clean</dt>
<dd>
<p>The command which is used to convert the content of a worktree
file to a blob upon checkin.  See linkgit:gitattributes[5] for
details.</p>
</dd>
<dt class="hdlist1">filter.&lt;driver&gt;.smudge</dt>
<dd>
<p>The command which is used to convert the content of a blob
object to a worktree file upon checkout.  See
linkgit:gitattributes[5] for details.</p>
</dd>
<dt class="hdlist1">gc.aggressiveDepth</dt>
<dd>
<p>The depth parameter used in the delta compression
algorithm used by <em>git gc --aggressive</em>.  This defaults
to 250.</p>
</dd>
<dt class="hdlist1">gc.aggressiveWindow</dt>
<dd>
<p>The window size parameter used in the delta compression
algorithm used by <em>git gc --aggressive</em>.  This defaults
to 250.</p>
</dd>
<dt class="hdlist1">gc.auto</dt>
<dd>
<p>When there are approximately more than this many loose
objects in the repository, <code>git gc --auto</code> will pack them.
Some Porcelain commands use this command to perform a
light-weight garbage collection from time to time.  The
default value is 6700.  Setting this to 0 disables it.</p>
</dd>
<dt class="hdlist1">gc.autoPackLimit</dt>
<dd>
<p>When there are more than this many packs that are not
marked with <code>*.keep</code> file in the repository, <code>git gc
--auto</code> consolidates them into one larger pack.  The
default    value is 50.  Setting this to 0 disables it.</p>
</dd>
<dt class="hdlist1">gc.autoDetach</dt>
<dd>
<p>Make <code>git gc --auto</code> return immediately and run in background
if the system supports it. Default is true.</p>
</dd>
<dt class="hdlist1">gc.packRefs</dt>
<dd>
<p>Running <code>git pack-refs</code> in a repository renders it
unclonable by Git versions prior to 1.5.1.2 over dumb
transports such as HTTP.  This variable determines whether
<em>git gc</em> runs <code>git pack-refs</code>. This can be set to <code>notbare</code>
to enable it within all non-bare repos or it can be set to a
boolean value.  The default is <code>true</code>.</p>
</dd>
<dt class="hdlist1">gc.pruneExpire</dt>
<dd>
<p>When <em>git gc</em> is run, it will call <em>prune --expire 2.weeks.ago</em>.
Override the grace period with this config variable.  The value
"now" may be used to disable this  grace period and always prune
unreachable objects immediately.</p>
</dd>
<dt class="hdlist1">gc.pruneWorktreesExpire</dt>
<dd>
<p>When <em>git gc</em> is run, it will call
<em>prune --worktrees --expire 3.months.ago</em>.
Override the grace period with this config variable. The value
"now" may be used to disable the grace period and prune
$GIT_DIR/worktrees immediately.</p>
</dd>
<dt class="hdlist1">gc.reflogExpire</dt>
<dt class="hdlist1">gc.&lt;pattern&gt;.reflogExpire</dt>
<dd>
<p><em>git reflog expire</em> removes reflog entries older than
this time; defaults to 90 days.  With "&lt;pattern&gt;" (e.g.
"refs/stash") in the middle the setting applies only to
the refs that match the &lt;pattern&gt;.</p>
</dd>
<dt class="hdlist1">gc.reflogExpireUnreachable</dt>
<dt class="hdlist1">gc.&lt;ref&gt;.reflogExpireUnreachable</dt>
<dd>
<p><em>git reflog expire</em> removes reflog entries older than
this time and are not reachable from the current tip;
defaults to 30 days.  With "&lt;pattern&gt;" (e.g. "refs/stash")
in the middle, the setting applies only to the refs that
match the &lt;pattern&gt;.</p>
</dd>
<dt class="hdlist1">gc.rerereResolved</dt>
<dd>
<p>Records of conflicted merge you resolved earlier are
kept for this many days when <em>git rerere gc</em> is run.
The default is 60 days.  See linkgit:git-rerere[1].</p>
</dd>
<dt class="hdlist1">gc.rerereUnresolved</dt>
<dd>
<p>Records of conflicted merge you have not resolved are
kept for this many days when <em>git rerere gc</em> is run.
The default is 15 days.  See linkgit:git-rerere[1].</p>
</dd>
<dt class="hdlist1">gitcvs.commitMsgAnnotation</dt>
<dd>
<p>Append this string to each commit message. Set to empty string
to disable this feature. Defaults to "via git-CVS emulator".</p>
</dd>
<dt class="hdlist1">gitcvs.enabled</dt>
<dd>
<p>Whether the CVS server interface is enabled for this repository.
See linkgit:git-cvsserver[1].</p>
</dd>
<dt class="hdlist1">gitcvs.logFile</dt>
<dd>
<p>Path to a log file where the CVS server interface well&#8230;&#8203; logs
various stuff. See linkgit:git-cvsserver[1].</p>
</dd>
<dt class="hdlist1">gitcvs.usecrlfattr</dt>
<dd>
<p>If true, the server will look up the end-of-line conversion
attributes for files to determine the <em>-k</em> modes to use. If
the attributes force Git to treat a file as text,
the <em>-k</em> mode will be left blank so CVS clients will
treat it as text. If they suppress text conversion, the file
will be set with <em>-kb</em> mode, which suppresses any newline munging
the client might otherwise do. If the attributes do not allow
the file type to be determined, then <em>gitcvs.allBinary</em> is
used. See linkgit:gitattributes[5].</p>
</dd>
<dt class="hdlist1">gitcvs.allBinary</dt>
<dd>
<p>This is used if <em>gitcvs.usecrlfattr</em> does not resolve
the correct <em>-kb</em> mode to use. If true, all
unresolved files are sent to the client in
mode <em>-kb</em>. This causes the client to treat them
as binary files, which suppresses any newline munging it
otherwise might do. Alternatively, if it is set to "guess",
then the contents of the file are examined to decide if
it is binary, similar to <em>core.autocrlf</em>.</p>
</dd>
<dt class="hdlist1">gitcvs.dbName</dt>
<dd>
<p>Database used by git-cvsserver to cache revision information
derived from the Git repository. The exact meaning depends on the
used database driver, for SQLite (which is the default driver) this
is a filename. Supports variable substitution (see
linkgit:git-cvsserver[1] for details). May not contain semicolons (<code>;</code>).
Default: <em>%Ggitcvs.%m.sqlite</em></p>
</dd>
<dt class="hdlist1">gitcvs.dbDriver</dt>
<dd>
<p>Used Perl DBI driver. You can specify any available driver
for this here, but it might not work. git-cvsserver is tested
with <em>DBD::SQLite</em>, reported to work with <em>DBD::Pg</em>, and
reported <strong>not</strong> to work with <em>DBD::mysql</em>. Experimental feature.
May not contain double colons (<code>:</code>). Default: <em>SQLite</em>.
See linkgit:git-cvsserver[1].</p>
</dd>
<dt class="hdlist1">gitcvs.dbUser, gitcvs.dbPass</dt>
<dd>
<p>Database user and password. Only useful if setting <em>gitcvs.dbDriver</em>,
since SQLite has no concept of database users and/or passwords.
<em>gitcvs.dbUser</em> supports variable substitution (see
linkgit:git-cvsserver[1] for details).</p>
</dd>
<dt class="hdlist1">gitcvs.dbTableNamePrefix</dt>
<dd>
<p>Database table name prefix.  Prepended to the names of any
database tables used, allowing a single database to be used
for several repositories.  Supports variable substitution (see
linkgit:git-cvsserver[1] for details).  Any non-alphabetic
characters will be replaced with underscores.</p>
</dd>
</dl>
</div>
<div class="paragraph">
<p>All gitcvs variables except for <em>gitcvs.usecrlfattr</em> and
<em>gitcvs.allBinary</em> can also be specified as
<em>gitcvs.&lt;access_method&gt;.&lt;varname&gt;</em> (where <em>access_method</em>
is one of "ext" and "pserver") to make them apply only for the given
access method.</p>
</div>
<div class="dlist">
<dl>
<dt class="hdlist1">gitweb.category</dt>
<dt class="hdlist1">gitweb.description</dt>
<dt class="hdlist1">gitweb.owner</dt>
<dt class="hdlist1">gitweb.url</dt>
<dd>
<p>See linkgit:gitweb[1] for description.</p>
</dd>
<dt class="hdlist1">gitweb.avatar</dt>
<dt class="hdlist1">gitweb.blame</dt>
<dt class="hdlist1">gitweb.grep</dt>
<dt class="hdlist1">gitweb.highlight</dt>
<dt class="hdlist1">gitweb.patches</dt>
<dt class="hdlist1">gitweb.pickaxe</dt>
<dt class="hdlist1">gitweb.remote_heads</dt>
<dt class="hdlist1">gitweb.showSizes</dt>
<dt class="hdlist1">gitweb.snapshot</dt>
<dd>
<p>See linkgit:gitweb.conf[5] for description.</p>
</dd>
<dt class="hdlist1">grep.lineNumber</dt>
<dd>
<p>If set to true, enable <em>-n</em> option by default.</p>
</dd>
<dt class="hdlist1">grep.patternType</dt>
<dd>
<p>Set the default matching behavior. Using a value of <em>basic</em>, <em>extended</em>,
<em>fixed</em>, or <em>perl</em> will enable the <em>--basic-regexp</em>, <em>--extended-regexp</em>,
<em>--fixed-strings</em>, or <em>--perl-regexp</em> option accordingly, while the
value <em>default</em> will return to the default matching behavior.</p>
</dd>
<dt class="hdlist1">grep.extendedRegexp</dt>
<dd>
<p>If set to true, enable <em>--extended-regexp</em> option by default. This
option is ignored when the <em>grep.patternType</em> option is set to a value
other than <em>default</em>.</p>
</dd>
<dt class="hdlist1">gpg.program</dt>
<dd>
<p>Use this custom program instead of "gpg" found on $PATH when
making or verifying a PGP signature. The program must support the
same command-line interface as GPG, namely, to verify a detached
signature, "gpg --verify $file - &lt;$signature" is run, and the
program is expected to signal a good signature by exiting with
code 0, and to generate an ASCII-armored detached signature, the
standard input of "gpg -bsau $key" is fed with the contents to be
signed, and the program is expected to send the result to its
standard output.</p>
</dd>
<dt class="hdlist1">gui.commitMsgWidth</dt>
<dd>
<p>Defines how wide the commit message window is in the
linkgit:git-gui[1]. "75" is the default.</p>
</dd>
<dt class="hdlist1">gui.diffContext</dt>
<dd>
<p>Specifies how many context lines should be used in calls to diff
made by the linkgit:git-gui[1]. The default is "5".</p>
</dd>
<dt class="hdlist1">gui.displayUntracked</dt>
<dd>
<p>Determines if linkgit::git-gui[1] shows untracked files
in the file list. The default is "true".</p>
</dd>
<dt class="hdlist1">gui.encoding</dt>
<dd>
<p>Specifies the default encoding to use for displaying of
file contents in linkgit:git-gui[1] and linkgit:gitk[1].
It can be overridden by setting the <em>encoding</em> attribute
for relevant files (see linkgit:gitattributes[5]).
If this option is not set, the tools default to the
locale encoding.</p>
</dd>
<dt class="hdlist1">gui.matchTrackingBranch</dt>
<dd>
<p>Determines if new branches created with linkgit:git-gui[1] should
default to tracking remote branches with matching names or
not. Default: "false".</p>
</dd>
<dt class="hdlist1">gui.newBranchTemplate</dt>
<dd>
<p>Is used as suggested name when creating new branches using the
linkgit:git-gui[1].</p>
</dd>
<dt class="hdlist1">gui.pruneDuringFetch</dt>
<dd>
<p>"true" if linkgit:git-gui[1] should prune remote-tracking branches when
performing a fetch. The default value is "false".</p>
</dd>
<dt class="hdlist1">gui.trustmtime</dt>
<dd>
<p>Determines if linkgit:git-gui[1] should trust the file modification
timestamp or not. By default the timestamps are not trusted.</p>
</dd>
<dt class="hdlist1">gui.spellingDictionary</dt>
<dd>
<p>Specifies the dictionary used for spell checking commit messages in
the linkgit:git-gui[1]. When set to "none" spell checking is turned
off.</p>
</dd>
<dt class="hdlist1">gui.fastCopyBlame</dt>
<dd>
<p>If true, <em>git gui blame</em> uses <code>-C</code> instead of <code>-C -C</code> for original
location detection. It makes blame significantly faster on huge
repositories at the expense of less thorough copy detection.</p>
</dd>
<dt class="hdlist1">gui.copyBlameThreshold</dt>
<dd>
<p>Specifies the threshold to use in <em>git gui blame</em> original location
detection, measured in alphanumeric characters. See the
linkgit:git-blame[1] manual for more information on copy detection.</p>
</dd>
<dt class="hdlist1">gui.blamehistoryctx</dt>
<dd>
<p>Specifies the radius of history context in days to show in
linkgit:gitk[1] for the selected commit, when the <code>Show History
Context</code> menu item is invoked from <em>git gui blame</em>. If this
variable is set to zero, the whole history is shown.</p>
</dd>
<dt class="hdlist1">guitool.&lt;name&gt;.cmd</dt>
<dd>
<p>Specifies the shell command line to execute when the corresponding item
of the linkgit:git-gui[1] <code>Tools</code> menu is invoked. This option is
mandatory for every tool. The command is executed from the root of
the working directory, and in the environment it receives the name of
the tool as <em>GIT_GUITOOL</em>, the name of the currently selected file as
<em>FILENAME</em>, and the name of the current branch as <em>CUR_BRANCH</em> (if
the head is detached, <em>CUR_BRANCH</em> is empty).</p>
</dd>
<dt class="hdlist1">guitool.&lt;name&gt;.needsFile</dt>
<dd>
<p>Run the tool only if a diff is selected in the GUI. It guarantees
that <em>FILENAME</em> is not empty.</p>
</dd>
<dt class="hdlist1">guitool.&lt;name&gt;.noConsole</dt>
<dd>
<p>Run the command silently, without creating a window to display its
output.</p>
</dd>
<dt class="hdlist1">guitool.&lt;name&gt;.noRescan</dt>
<dd>
<p>Don&#8217;t rescan the working directory for changes after the tool
finishes execution.</p>
</dd>
<dt class="hdlist1">guitool.&lt;name&gt;.confirm</dt>
<dd>
<p>Show a confirmation dialog before actually running the tool.</p>
</dd>
<dt class="hdlist1">guitool.&lt;name&gt;.argPrompt</dt>
<dd>
<p>Request a string argument from the user, and pass it to the tool
through the <em>ARGS</em> environment variable. Since requesting an
argument implies confirmation, the <em>confirm</em> option has no effect
if this is enabled. If the option is set to <em>true</em>, <em>yes</em>, or <em>1</em>,
the dialog uses a built-in generic prompt; otherwise the exact
value of the variable is used.</p>
</dd>
<dt class="hdlist1">guitool.&lt;name&gt;.revPrompt</dt>
<dd>
<p>Request a single valid revision from the user, and set the
<em>REVISION</em> environment variable. In other aspects this option
is similar to <em>argPrompt</em>, and can be used together with it.</p>
</dd>
<dt class="hdlist1">guitool.&lt;name&gt;.revUnmerged</dt>
<dd>
<p>Show only unmerged branches in the <em>revPrompt</em> subdialog.
This is useful for tools similar to merge or rebase, but not
for things like checkout or reset.</p>
</dd>
<dt class="hdlist1">guitool.&lt;name&gt;.title</dt>
<dd>
<p>Specifies the title to use for the prompt dialog. The default
is the tool name.</p>
</dd>
<dt class="hdlist1">guitool.&lt;name&gt;.prompt</dt>
<dd>
<p>Specifies the general prompt string to display at the top of
the dialog, before subsections for <em>argPrompt</em> and <em>revPrompt</em>.
The default value includes the actual command.</p>
</dd>
<dt class="hdlist1">help.browser</dt>
<dd>
<p>Specify the browser that will be used to display help in the
<em>web</em> format. See linkgit:git-help[1].</p>
</dd>
<dt class="hdlist1">help.format</dt>
<dd>
<p>Override the default help format used by linkgit:git-help[1].
Values <em>man</em>, <em>info</em>, <em>web</em> and <em>html</em> are supported. <em>man</em> is
the default. <em>web</em> and <em>html</em> are the same.</p>
</dd>
<dt class="hdlist1">help.autoCorrect</dt>
<dd>
<p>Automatically correct and execute mistyped commands after
waiting for the given number of deciseconds (0.1 sec). If more
than one command can be deduced from the entered text, nothing
will be executed.  If the value of this option is negative,
the corrected command will be executed immediately. If the
value is 0 - the command will be just shown but not executed.
This is the default.</p>
</dd>
<dt class="hdlist1">help.htmlPath</dt>
<dd>
<p>Specify the path where the HTML documentation resides. File system paths
and URLs are supported. HTML pages will be prefixed with this path when
help is displayed in the <em>web</em> format. This defaults to the documentation
path of your Git installation.</p>
</dd>
<dt class="hdlist1">http.proxy</dt>
<dd>
<p>Override the HTTP proxy, normally configured using the <em>http_proxy</em>,
<em>https_proxy</em>, and <em>all_proxy</em> environment variables (see
<code>curl(1)</code>).  This can be overridden on a per-remote basis; see
remote.&lt;name&gt;.proxy</p>
</dd>
<dt class="hdlist1">http.cookieFile</dt>
<dd>
<p>File containing previously stored cookie lines which should be used
in the Git http session, if they match the server. The file format
of the file to read cookies from should be plain HTTP headers or
the Netscape/Mozilla cookie file format (see linkgit:curl[1]).
NOTE that the file specified with http.cookieFile is only used as
input unless http.saveCookies is set.</p>
</dd>
<dt class="hdlist1">http.saveCookies</dt>
<dd>
<p>If set, store cookies received during requests to the file specified by
http.cookieFile. Has no effect if http.cookieFile is unset.</p>
</dd>
<dt class="hdlist1">http.sslCipherList</dt>
<dd>
<p>A list of SSL ciphers to use when negotiating an SSL connection.
The available ciphers depend on whether libcurl was built against
NSS or OpenSSL and the particular configuration of the crypto
library in use.  Internally this sets the <em>CURLOPT_SSL_CIPHER_LIST</em>
option; see the libcurl documentation for more details on the format
of this list.</p>
<div class="paragraph">
<p>Can be overridden by the <em>GIT_SSL_CIPHER_LIST</em> environment variable.
To force git to use libcurl&#8217;s default cipher list and ignore any
explicit http.sslCipherList option, set <em>GIT_SSL_CIPHER_LIST</em> to the
empty string.</p>
</div>
</dd>
<dt class="hdlist1">http.sslVerify</dt>
<dd>
<p>Whether to verify the SSL certificate when fetching or pushing
over HTTPS. Can be overridden by the <em>GIT_SSL_NO_VERIFY</em> environment
variable.</p>
</dd>
<dt class="hdlist1">http.sslCert</dt>
<dd>
<p>File containing the SSL certificate when fetching or pushing
over HTTPS. Can be overridden by the <em>GIT_SSL_CERT</em> environment
variable.</p>
</dd>
<dt class="hdlist1">http.sslKey</dt>
<dd>
<p>File containing the SSL private key when fetching or pushing
over HTTPS. Can be overridden by the <em>GIT_SSL_KEY</em> environment
variable.</p>
</dd>
<dt class="hdlist1">http.sslCertPasswordProtected</dt>
<dd>
<p>Enable Git&#8217;s password prompt for the SSL certificate.  Otherwise
OpenSSL will prompt the user, possibly many times, if the
certificate or private key is encrypted.  Can be overridden by the
<em>GIT_SSL_CERT_PASSWORD_PROTECTED</em> environment variable.</p>
</dd>
<dt class="hdlist1">http.sslCAInfo</dt>
<dd>
<p>File containing the certificates to verify the peer with when
fetching or pushing over HTTPS. Can be overridden by the
<em>GIT_SSL_CAINFO</em> environment variable.</p>
</dd>
<dt class="hdlist1">http.sslCAPath</dt>
<dd>
<p>Path containing files with the CA certificates to verify the peer
with when fetching or pushing over HTTPS. Can be overridden
by the <em>GIT_SSL_CAPATH</em> environment variable.</p>
</dd>
<dt class="hdlist1">http.sslTry</dt>
<dd>
<p>Attempt to use AUTH SSL/TLS and encrypted data transfers
when connecting via regular FTP protocol. This might be needed
if the FTP server requires it for security reasons or you wish
to connect securely whenever remote FTP server supports it.
Default is false since it might trigger certificate verification
errors on misconfigured servers.</p>
</dd>
<dt class="hdlist1">http.maxRequests</dt>
<dd>
<p>How many HTTP requests to launch in parallel. Can be overridden
by the <em>GIT_HTTP_MAX_REQUESTS</em> environment variable. Default is 5.</p>
</dd>
<dt class="hdlist1">http.minSessions</dt>
<dd>
<p>The number of curl sessions (counted across slots) to be kept across
requests. They will not be ended with curl_easy_cleanup() until
http_cleanup() is invoked. If USE_CURL_MULTI is not defined, this
value will be capped at 1. Defaults to 1.</p>
</dd>
<dt class="hdlist1">http.postBuffer</dt>
<dd>
<p>Maximum size in bytes of the buffer used by smart HTTP
transports when POSTing data to the remote system.
For requests larger than this buffer size, HTTP/1.1 and
Transfer-Encoding: chunked is used to avoid creating a
massive pack file locally.  Default is 1 MiB, which is
sufficient for most requests.</p>
</dd>
<dt class="hdlist1">http.lowSpeedLimit, http.lowSpeedTime</dt>
<dd>
<p>If the HTTP transfer speed is less than <em>http.lowSpeedLimit</em>
for longer than <em>http.lowSpeedTime</em> seconds, the transfer is aborted.
Can be overridden by the <em>GIT_HTTP_LOW_SPEED_LIMIT</em> and
<em>GIT_HTTP_LOW_SPEED_TIME</em> environment variables.</p>
</dd>
<dt class="hdlist1">http.noEPSV</dt>
<dd>
<p>A boolean which disables using of EPSV ftp command by curl.
This can helpful with some "poor" ftp servers which don&#8217;t
support EPSV mode. Can be overridden by the <em>GIT_CURL_FTP_NO_EPSV</em>
environment variable. Default is false (curl will use EPSV).</p>
</dd>
<dt class="hdlist1">http.userAgent</dt>
<dd>
<p>The HTTP USER_AGENT string presented to an HTTP server.  The default
value represents the version of the client Git such as git/1.7.1.
This option allows you to override this value to a more common value
such as Mozilla/4.0.  This may be necessary, for instance, if
connecting through a firewall that restricts HTTP connections to a set
of common USER_AGENT strings (but not including those like git/1.7.1).
Can be overridden by the <em>GIT_HTTP_USER_AGENT</em> environment variable.</p>
</dd>
<dt class="hdlist1">http.&lt;url&gt;.*</dt>
<dd>
<p>Any of the http.* options above can be applied selectively to some URLs.
For a config key to match a URL, each element of the config key is
compared to that of the URL, in the following order:</p>
<div class="openblock">
<div class="content">
<div class="olist arabic">
<ol class="arabic">
<li>
<p>Scheme (e.g., <code>https</code> in <code>https://example.com/</code>). This field
must match exactly between the config key and the URL.</p>
</li>
<li>
<p>Host/domain name (e.g., <code>example.com</code> in <code>https://example.com/</code>).
This field must match exactly between the config key and the URL.</p>
</li>
<li>
<p>Port number (e.g., <code>8080</code> in <code>http://example.com:8080/</code>).
This field must match exactly between the config key and the URL.
Omitted port numbers are automatically converted to the correct
default for the scheme before matching.</p>
</li>
<li>
<p>Path (e.g., <code>repo.git</code> in <code>https://example.com/repo.git</code>). The
path field of the config key must match the path field of the URL
either exactly or as a prefix of slash-delimited path elements.  This means
a config key with path <code>foo/</code> matches URL path <code>foo/bar</code>.  A prefix can only
match on a slash (<code>/</code>) boundary.  Longer matches take precedence (so a config
key with path <code>foo/bar</code> is a better match to URL path <code>foo/bar</code> than a config
key with just path <code>foo/</code>).</p>
</li>
<li>
<p>User name (e.g., <code>user</code> in <code>https://user@example.com/repo.git</code>). If
the config key has a user name it must match the user name in the
URL exactly. If the config key does not have a user name, that
config key will match a URL with any user name (including none),
but at a lower precedence than a config key with a user name.</p>
</li>
</ol>
</div>
</div>
</div>
<div class="paragraph">
<p>The list above is ordered by decreasing precedence; a URL that matches
a config key&#8217;s path is preferred to one that matches its user name. For example,
if the URL is <code>https://user@example.com/foo/bar</code> a config key match of
<code>https://example.com/foo</code> will be preferred over a config key match of
<code>https://user@example.com</code>.</p>
</div>
<div class="paragraph">
<p>All URLs are normalized before attempting any matching (the password part,
if embedded in the URL, is always ignored for matching purposes) so that
equivalent URLs that are simply spelled differently will match properly.
Environment variable settings always override any matches.  The URLs that are
matched against are those given directly to Git commands.  This means any URLs
visited as a result of a redirection do not participate in matching.</p>
</div>
</dd>
<dt class="hdlist1">i18n.commitEncoding</dt>
<dd>
<p>Character encoding the commit messages are stored in; Git itself
does not care per se, but this information is necessary e.g. when
importing commits from emails or in the gitk graphical history
browser (and possibly at other places in the future or in other
porcelains). See e.g. linkgit:git-mailinfo[1]. Defaults to <em>utf-8</em>.</p>
</dd>
<dt class="hdlist1">i18n.logOutputEncoding</dt>
<dd>
<p>Character encoding the commit messages are converted to when
running <em>git log</em> and friends.</p>
</dd>
<dt class="hdlist1">imap</dt>
<dd>
<p>The configuration variables in the <em>imap</em> section are described
in linkgit:git-imap-send[1].</p>
</dd>
<dt class="hdlist1">index.version</dt>
<dd>
<p>Specify the version with which new index files should be
initialized.  This does not affect existing repositories.</p>
</dd>
<dt class="hdlist1">init.templateDir</dt>
<dd>
<p>Specify the directory from which templates will be copied.
(See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].)</p>
</dd>
<dt class="hdlist1">instaweb.browser</dt>
<dd>
<p>Specify the program that will be used to browse your working
repository in gitweb. See linkgit:git-instaweb[1].</p>
</dd>
<dt class="hdlist1">instaweb.httpd</dt>
<dd>
<p>The HTTP daemon command-line to start gitweb on your working
repository. See linkgit:git-instaweb[1].</p>
</dd>
<dt class="hdlist1">instaweb.local</dt>
<dd>
<p>If true the web server started by linkgit:git-instaweb[1] will
be bound to the local IP (127.0.0.1).</p>
</dd>
<dt class="hdlist1">instaweb.modulePath</dt>
<dd>
<p>The default module path for linkgit:git-instaweb[1] to use
instead of /usr/lib/apache2/modules.  Only used if httpd
is Apache.</p>
</dd>
<dt class="hdlist1">instaweb.port</dt>
<dd>
<p>The port number to bind the gitweb httpd to. See
linkgit:git-instaweb[1].</p>
</dd>
<dt class="hdlist1">interactive.singleKey</dt>
<dd>
<p>In interactive commands, allow the user to provide one-letter
input with a single key (i.e., without hitting enter).
Currently this is used by the <code>--patch</code> mode of
linkgit:git-add[1], linkgit:git-checkout[1], linkgit:git-commit[1],
linkgit:git-reset[1], and linkgit:git-stash[1]. Note that this
setting is silently ignored if portable keystroke input
is not available; requires the Perl module Term::ReadKey.</p>
</dd>
<dt class="hdlist1">log.abbrevCommit</dt>
<dd>
<p>If true, makes linkgit:git-log[1], linkgit:git-show[1], and
linkgit:git-whatchanged[1] assume <code>--abbrev-commit</code>. You may
override this option with <code>--no-abbrev-commit</code>.</p>
</dd>
<dt class="hdlist1">log.date</dt>
<dd>
<p>Set the default date-time mode for the <em>log</em> command.
Setting a value for log.date is similar to using <em>git log</em>'s
<code>--date</code> option.  Possible values are <code>relative</code>, <code>local</code>,
<code>default</code>, <code>iso</code>, <code>rfc</code>, and <code>short</code>; see linkgit:git-log[1]
for details.</p>
</dd>
<dt class="hdlist1">log.decorate</dt>
<dd>
<p>Print out the ref names of any commits that are shown by the log
command. If <em>short</em> is specified, the ref name prefixes <em>refs/heads/</em>,
<em>refs/tags/</em> and <em>refs/remotes/</em> will not be printed. If <em>full</em> is
specified, the full ref name (including prefix) will be printed.
This is the same as the log commands <em>--decorate</em> option.</p>
</dd>
<dt class="hdlist1">log.showRoot</dt>
<dd>
<p>If true, the initial commit will be shown as a big creation event.
This is equivalent to a diff against an empty tree.
Tools like linkgit:git-log[1] or linkgit:git-whatchanged[1], which
normally hide the root commit will now show it. True by default.</p>
</dd>
<dt class="hdlist1">log.mailmap</dt>
<dd>
<p>If true, makes linkgit:git-log[1], linkgit:git-show[1], and
linkgit:git-whatchanged[1] assume <code>--use-mailmap</code>.</p>
</dd>
<dt class="hdlist1">mailinfo.scissors</dt>
<dd>
<p>If true, makes linkgit:git-mailinfo[1] (and therefore
linkgit:git-am[1]) act by default as if the --scissors option
was provided on the command-line. When active, this features
removes everything from the message body before a scissors
line (i.e. consisting mainly of "&gt;8", "8&lt;" and "-").</p>
</dd>
<dt class="hdlist1">mailmap.file</dt>
<dd>
<p>The location of an augmenting mailmap file. The default
mailmap, located in the root of the repository, is loaded
first, then the mailmap file pointed to by this variable.
The location of the mailmap file may be in a repository
subdirectory, or somewhere outside of the repository itself.
See linkgit:git-shortlog[1] and linkgit:git-blame[1].</p>
</dd>
<dt class="hdlist1">mailmap.blob</dt>
<dd>
<p>Like <code>mailmap.file</code>, but consider the value as a reference to a
blob in the repository. If both <code>mailmap.file</code> and
<code>mailmap.blob</code> are given, both are parsed, with entries from
<code>mailmap.file</code> taking precedence. In a bare repository, this
defaults to <code>HEAD:.mailmap</code>. In a non-bare repository, it
defaults to empty.</p>
</dd>
<dt class="hdlist1">man.viewer</dt>
<dd>
<p>Specify the programs that may be used to display help in the
<em>man</em> format. See linkgit:git-help[1].</p>
</dd>
<dt class="hdlist1">man.&lt;tool&gt;.cmd</dt>
<dd>
<p>Specify the command to invoke the specified man viewer. The
specified command is evaluated in shell with the man page
passed as argument. (See linkgit:git-help[1].)</p>
</dd>
<dt class="hdlist1">man.&lt;tool&gt;.path</dt>
<dd>
<p>Override the path for the given tool that may be used to
display help in the <em>man</em> format. See linkgit:git-help[1].</p>
</dd>
<dt class="hdlist1">merge.conflictStyle</dt>
<dd>
<p>Specify the style in which conflicted hunks are written out to
working tree files upon merge.  The default is "merge", which
shows a <code>&lt;&lt;&lt;&lt;&lt;&lt;&lt;</code> conflict marker, changes made by one side,
a <code>=======</code> marker, changes made by the other side, and then
a <code>&gt;&gt;&gt;&gt;&gt;&gt;&gt;</code> marker.  An alternate style, "diff3", adds a <code>|||||||</code>
marker and the original text before the <code>=======</code> marker.</p>
</dd>
<dt class="hdlist1">merge.defaultToUpstream</dt>
<dd>
<p>If merge is called without any commit argument, merge the upstream
branches configured for the current branch by using their last
observed values stored in their remote-tracking branches.
The values of the <code>branch.&lt;current branch&gt;.merge</code> that name the
branches at the remote named by <code>branch.&lt;current branch&gt;.remote</code>
are consulted, and then they are mapped via <code>remote.&lt;remote&gt;.fetch</code>
to their corresponding remote-tracking branches, and the tips of
these tracking branches are merged.</p>
</dd>
<dt class="hdlist1">merge.ff</dt>
<dd>
<p>By default, Git does not create an extra merge commit when merging
a commit that is a descendant of the current commit. Instead, the
tip of the current branch is fast-forwarded. When set to <code>false</code>,
this variable tells Git to create an extra merge commit in such
a case (equivalent to giving the <code>--no-ff</code> option from the command
line). When set to <code>only</code>, only such fast-forward merges are
allowed (equivalent to giving the <code>--ff-only</code> option from the
command line).</p>
</dd>
<dt class="hdlist1">merge.branchdesc</dt>
<dd>
<p>In addition to branch names, populate the log message with
the branch description text associated with them.  Defaults
to false.</p>
</dd>
<dt class="hdlist1">merge.log</dt>
<dd>
<p>In addition to branch names, populate the log message with at
most the specified number of one-line descriptions from the
actual commits that are being merged.  Defaults to false, and
true is a synonym for 20.</p>
</dd>
<dt class="hdlist1">merge.renameLimit</dt>
<dd>
<p>The number of files to consider when performing rename detection
during a merge; if not specified, defaults to the value of
diff.renameLimit.</p>
</dd>
<dt class="hdlist1">merge.renormalize</dt>
<dd>
<p>Tell Git that canonical representation of files in the
repository has changed over time (e.g. earlier commits record
text files with CRLF line endings, but recent ones use LF line
endings).  In such a repository, Git can convert the data
recorded in commits to a canonical form before performing a
merge to reduce unnecessary conflicts.  For more information,
see section "Merging branches with differing checkin/checkout
attributes" in linkgit:gitattributes[5].</p>
</dd>
<dt class="hdlist1">merge.stat</dt>
<dd>
<p>Whether to print the diffstat between ORIG_HEAD and the merge result
at the end of the merge.  True by default.</p>
</dd>
<dt class="hdlist1">merge.tool</dt>
<dd>
<p>Controls which merge tool is used by linkgit:git-mergetool[1].
The list below shows the valid built-in values.
Any other value is treated as a custom merge tool and requires
that a corresponding mergetool.&lt;tool&gt;.cmd variable is defined.</p>
<div class="ulist">
<ul>
<li>
<p>araxis</p>
</li>
<li>
<p>bc</p>
</li>
<li>
<p>bc3</p>
</li>
<li>
<p>codecompare</p>
</li>
<li>
<p>deltawalker</p>
</li>
<li>
<p>diffmerge</p>
</li>
<li>
<p>diffuse</p>
</li>
<li>
<p>ecmerge</p>
</li>
<li>
<p>emerge</p>
</li>
<li>
<p>gvimdiff</p>
</li>
<li>
<p>gvimdiff2</p>
</li>
<li>
<p>gvimdiff3</p>
</li>
<li>
<p>kdiff3</p>
</li>
<li>
<p>meld</p>
</li>
<li>
<p>opendiff</p>
</li>
<li>
<p>p4merge</p>
</li>
<li>
<p>tkdiff</p>
</li>
<li>
<p>tortoisemerge</p>
</li>
<li>
<p>vimdiff</p>
</li>
<li>
<p>vimdiff2</p>
</li>
<li>
<p>vimdiff3</p>
</li>
<li>
<p>winmerge</p>
</li>
<li>
<p>xxdiff</p>
</li>
</ul>
</div>
</dd>
<dt class="hdlist1">merge.verbosity</dt>
<dd>
<p>Controls the amount of output shown by the recursive merge
strategy.  Level 0 outputs nothing except a final error
message if conflicts were detected. Level 1 outputs only
conflicts, 2 outputs conflicts and file changes.  Level 5 and
above outputs debugging information.  The default is level 2.
Can be overridden by the <em>GIT_MERGE_VERBOSITY</em> environment variable.</p>
</dd>
<dt class="hdlist1">merge.&lt;driver&gt;.name</dt>
<dd>
<p>Defines a human-readable name for a custom low-level
merge driver.  See linkgit:gitattributes[5] for details.</p>
</dd>
<dt class="hdlist1">merge.&lt;driver&gt;.driver</dt>
<dd>
<p>Defines the command that implements a custom low-level
merge driver.  See linkgit:gitattributes[5] for details.</p>
</dd>
<dt class="hdlist1">merge.&lt;driver&gt;.recursive</dt>
<dd>
<p>Names a low-level merge driver to be used when
performing an internal merge between common ancestors.
See linkgit:gitattributes[5] for details.</p>
</dd>
<dt class="hdlist1">mergetool.&lt;tool&gt;.path</dt>
<dd>
<p>Override the path for the given tool.  This is useful in case
your tool is not in the PATH.</p>
</dd>
<dt class="hdlist1">mergetool.&lt;tool&gt;.cmd</dt>
<dd>
<p>Specify the command to invoke the specified merge tool.  The
specified command is evaluated in shell with the following
variables available: <em>BASE</em> is the name of a temporary file
containing the common base of the files to be merged, if available;
<em>LOCAL</em> is the name of a temporary file containing the contents of
the file on the current branch; <em>REMOTE</em> is the name of a temporary
file containing the contents of the file from the branch being
merged; <em>MERGED</em> contains the name of the file to which the merge
tool should write the results of a successful merge.</p>
</dd>
<dt class="hdlist1">mergetool.&lt;tool&gt;.trustExitCode</dt>
<dd>
<p>For a custom merge command, specify whether the exit code of
the merge command can be used to determine whether the merge was
successful.  If this is not set to true then the merge target file
timestamp is checked and the merge assumed to have been successful
if the file has been updated, otherwise the user is prompted to
indicate the success of the merge.</p>
</dd>
<dt class="hdlist1">mergetool.meld.hasOutput</dt>
<dd>
<p>Older versions of <code>meld</code> do not support the <code>--output</code> option.
Git will attempt to detect whether <code>meld</code> supports <code>--output</code>
by inspecting the output of <code>meld --help</code>.  Configuring
<code>mergetool.meld.hasOutput</code> will make Git skip these checks and
use the configured value instead.  Setting <code>mergetool.meld.hasOutput</code>
to <code>true</code> tells Git to unconditionally use the <code>--output</code> option,
and <code>false</code> avoids using <code>--output</code>.</p>
</dd>
<dt class="hdlist1">mergetool.keepBackup</dt>
<dd>
<p>After performing a merge, the original file with conflict markers
can be saved as a file with a <code>.orig</code> extension.  If this variable
is set to <code>false</code> then this file is not preserved.  Defaults to
<code>true</code> (i.e. keep the backup files).</p>
</dd>
<dt class="hdlist1">mergetool.keepTemporaries</dt>
<dd>
<p>When invoking a custom merge tool, Git uses a set of temporary
files to pass to the tool. If the tool returns an error and this
variable is set to <code>true</code>, then these temporary files will be
preserved, otherwise they will be removed after the tool has
exited. Defaults to <code>false</code>.</p>
</dd>
<dt class="hdlist1">mergetool.writeToTemp</dt>
<dd>
<p>Git writes temporary <em>BASE</em>, <em>LOCAL</em>, and <em>REMOTE</em> versions of
conflicting files in the worktree by default.  Git will attempt
to use a temporary directory for these files when set <code>true</code>.
Defaults to <code>false</code>.</p>
</dd>
<dt class="hdlist1">mergetool.prompt</dt>
<dd>
<p>Prompt before each invocation of the merge resolution program.</p>
</dd>
<dt class="hdlist1">notes.displayRef</dt>
<dd>
<p>The (fully qualified) refname from which to show notes when
showing commit messages.  The value of this variable can be set
to a glob, in which case notes from all matching refs will be
shown.  You may also specify this configuration variable
several times.  A warning will be issued for refs that do not
exist, but a glob that does not match any refs is silently
ignored.</p>
<div class="paragraph">
<p>This setting can be overridden with the <code>GIT_NOTES_DISPLAY_REF</code>
environment variable, which must be a colon separated list of refs or
globs.</p>
</div>
<div class="paragraph">
<p>The effective value of "core.notesRef" (possibly overridden by
GIT_NOTES_REF) is also implicitly added to the list of refs to be
displayed.</p>
</div>
</dd>
<dt class="hdlist1">notes.rewrite.&lt;command&gt;</dt>
<dd>
<p>When rewriting commits with &lt;command&gt; (currently <code>amend</code> or
<code>rebase</code>) and this variable is set to <code>true</code>, Git
automatically copies your notes from the original to the
rewritten commit.  Defaults to <code>true</code>, but see
"notes.rewriteRef" below.</p>
</dd>
<dt class="hdlist1">notes.rewriteMode</dt>
<dd>
<p>When copying notes during a rewrite (see the
"notes.rewrite.&lt;command&gt;" option), determines what to do if
the target commit already has a note.  Must be one of
<code>overwrite</code>, <code>concatenate</code>, or <code>ignore</code>.  Defaults to
<code>concatenate</code>.</p>
<div class="paragraph">
<p>This setting can be overridden with the <code>GIT_NOTES_REWRITE_MODE</code>
environment variable.</p>
</div>
</dd>
<dt class="hdlist1">notes.rewriteRef</dt>
<dd>
<p>When copying notes during a rewrite, specifies the (fully
qualified) ref whose notes should be copied.  The ref may be a
glob, in which case notes in all matching refs will be copied.
You may also specify this configuration several times.</p>
<div class="paragraph">
<p>Does not have a default value; you must configure this variable to
enable note rewriting.  Set it to <code>refs/notes/commits</code> to enable
rewriting for the default commit notes.</p>
</div>
<div class="paragraph">
<p>This setting can be overridden with the <code>GIT_NOTES_REWRITE_REF</code>
environment variable, which must be a colon separated list of refs or
globs.</p>
</div>
</dd>
<dt class="hdlist1">pack.window</dt>
<dd>
<p>The size of the window used by linkgit:git-pack-objects[1] when no
window size is given on the command line. Defaults to 10.</p>
</dd>
<dt class="hdlist1">pack.depth</dt>
<dd>
<p>The maximum delta depth used by linkgit:git-pack-objects[1] when no
maximum depth is given on the command line. Defaults to 50.</p>
</dd>
<dt class="hdlist1">pack.windowMemory</dt>
<dd>
<p>The maximum size of memory that is consumed by each thread
in linkgit:git-pack-objects[1] for pack window memory when
no limit is given on the command line.  The value can be
suffixed with "k", "m", or "g".  When left unconfigured (or
set explicitly to 0), there will be no limit.</p>
</dd>
<dt class="hdlist1">pack.compression</dt>
<dd>
<p>An integer -1..9, indicating the compression level for objects
in a pack file. -1 is the zlib default. 0 means no
compression, and 1..9 are various speed/size tradeoffs, 9 being
slowest.  If not set,  defaults to core.compression.  If that is
not set,  defaults to -1, the zlib default, which is "a default
compromise between speed and compression (currently equivalent
to level 6)."</p>
<div class="paragraph">
<p>Note that changing the compression level will not automatically recompress
all existing objects. You can force recompression by passing the -F option
to linkgit:git-repack[1].</p>
</div>
</dd>
<dt class="hdlist1">pack.deltaCacheSize</dt>
<dd>
<p>The maximum memory in bytes used for caching deltas in
linkgit:git-pack-objects[1] before writing them out to a pack.
This cache is used to speed up the writing object phase by not
having to recompute the final delta result once the best match
for all objects is found.  Repacking large repositories on machines
which are tight with memory might be badly impacted by this though,
especially if this cache pushes the system into swapping.
A value of 0 means no limit. The smallest size of 1 byte may be
used to virtually disable this cache. Defaults to 256 MiB.</p>
</dd>
<dt class="hdlist1">pack.deltaCacheLimit</dt>
<dd>
<p>The maximum size of a delta, that is cached in
linkgit:git-pack-objects[1]. This cache is used to speed up the
writing object phase by not having to recompute the final delta
result once the best match for all objects is found. Defaults to 1000.</p>
</dd>
<dt class="hdlist1">pack.threads</dt>
<dd>
<p>Specifies the number of threads to spawn when searching for best
delta matches.  This requires that linkgit:git-pack-objects[1]
be compiled with pthreads otherwise this option is ignored with a
warning. This is meant to reduce packing time on multiprocessor
machines. The required amount of memory for the delta search window
is however multiplied by the number of threads.
Specifying 0 will cause Git to auto-detect the number of CPU&#8217;s
and set the number of threads accordingly.</p>
</dd>
<dt class="hdlist1">pack.indexVersion</dt>
<dd>
<p>Specify the default pack index version.  Valid values are 1 for
legacy pack index used by Git versions prior to 1.5.2, and 2 for
the new pack index with capabilities for packs larger than 4 GB
as well as proper protection against the repacking of corrupted
packs.  Version 2 is the default.  Note that version 2 is enforced
and this config option ignored whenever the corresponding pack is
larger than 2 GB.</p>
<div class="paragraph">
<p>If you have an old Git that does not understand the version 2 <code>*.idx</code> file,
cloning or fetching over a non native protocol (e.g. "http" and "rsync")
that will copy both <code>*.pack</code> file and corresponding <code>*.idx</code> file from the
other side may give you a repository that cannot be accessed with your
older version of Git. If the <code>*.pack</code> file is smaller than 2 GB, however,
you can use linkgit:git-index-pack[1] on the *.pack file to regenerate
the <code>*.idx</code> file.</p>
</div>
</dd>
<dt class="hdlist1">pack.packSizeLimit</dt>
<dd>
<p>The maximum size of a pack.  This setting only affects
packing to a file when repacking, i.e. the git:// protocol
is unaffected.  It can be overridden by the <code>--max-pack-size</code>
option of linkgit:git-repack[1]. The minimum size allowed is
limited to 1 MiB. The default is unlimited.
Common unit suffixes of <em>k</em>, <em>m</em>, or <em>g</em> are
supported.</p>
</dd>
<dt class="hdlist1">pack.useBitmaps</dt>
<dd>
<p>When true, git will use pack bitmaps (if available) when packing
to stdout (e.g., during the server side of a fetch). Defaults to
true. You should not generally need to turn this off unless
you are debugging pack bitmaps.</p>
</dd>
<dt class="hdlist1">pack.writeBitmaps (deprecated)</dt>
<dd>
<p>This is a deprecated synonym for <code>repack.writeBitmaps</code>.</p>
</dd>
<dt class="hdlist1">pack.writeBitmapHashCache</dt>
<dd>
<p>When true, git will include a "hash cache" section in the bitmap
index (if one is written). This cache can be used to feed git&#8217;s
delta heuristics, potentially leading to better deltas between
bitmapped and non-bitmapped objects (e.g., when serving a fetch
between an older, bitmapped pack and objects that have been
pushed since the last gc). The downside is that it consumes 4
bytes per object of disk space, and that JGit&#8217;s bitmap
implementation does not understand it, causing it to complain if
Git and JGit are used on the same repository. Defaults to false.</p>
</dd>
<dt class="hdlist1">pager.&lt;cmd&gt;</dt>
<dd>
<p>If the value is boolean, turns on or off pagination of the
output of a particular Git subcommand when writing to a tty.
Otherwise, turns on pagination for the subcommand using the
pager specified by the value of <code>pager.&lt;cmd&gt;</code>.  If <code>--paginate</code>
or <code>--no-pager</code> is specified on the command line, it takes
precedence over this option.  To disable pagination for all
commands, set <code>core.pager</code> or <code>GIT_PAGER</code> to <code>cat</code>.</p>
</dd>
<dt class="hdlist1">pretty.&lt;name&gt;</dt>
<dd>
<p>Alias for a --pretty= format string, as specified in
linkgit:git-log[1]. Any aliases defined here can be used just
as the built-in pretty formats could. For example,
running <code>git config pretty.changelog "format:* %H %s"</code>
would cause the invocation <code>git log --pretty=changelog</code>
to be equivalent to running <code>git log "--pretty=format:* %H %s"</code>.
Note that an alias with the same name as a built-in format
will be silently ignored.</p>
</dd>
<dt class="hdlist1">pull.ff</dt>
<dd>
<p>By default, Git does not create an extra merge commit when merging
a commit that is a descendant of the current commit. Instead, the
tip of the current branch is fast-forwarded. When set to <code>false</code>,
this variable tells Git to create an extra merge commit in such
a case (equivalent to giving the <code>--no-ff</code> option from the command
line). When set to <code>only</code>, only such fast-forward merges are
allowed (equivalent to giving the <code>--ff-only</code> option from the
command line). This setting overrides <code>merge.ff</code> when pulling.</p>
</dd>
<dt class="hdlist1">pull.rebase</dt>
<dd>
<p>When true, rebase branches on top of the fetched branch, instead
of merging the default branch from the default remote when "git
pull" is run. See "branch.&lt;name&gt;.rebase" for setting this on a
per-branch basis.</p>
<div class="literalblock">
<div class="content">
<pre>When preserve, also pass `--preserve-merges` along to 'git rebase'
so that locally committed merge commits will not be flattened
by running 'git pull'.</pre>
</div>
</div>
<div class="paragraph">
<p><strong>NOTE</strong>: this is a possibly dangerous operation; do <strong>not</strong> use
it unless you understand the implications (see linkgit:git-rebase[1]
for details).</p>
</div>
</dd>
<dt class="hdlist1">pull.octopus</dt>
<dd>
<p>The default merge strategy to use when pulling multiple branches
at once.</p>
</dd>
<dt class="hdlist1">pull.twohead</dt>
<dd>
<p>The default merge strategy to use when pulling a single branch.</p>
</dd>
<dt class="hdlist1">push.default</dt>
<dd>
<p>Defines the action <code>git push</code> should take if no refspec is
explicitly given.  Different values are well-suited for
specific workflows; for instance, in a purely central workflow
(i.e. the fetch source is equal to the push destination),
<code>upstream</code> is probably what you want.  Possible values are:</p>
<div class="openblock">
<div class="content">
<div class="ulist">
<ul>
<li>
<p><code>nothing</code> - do not push anything (error out) unless a refspec is
explicitly given. This is primarily meant for people who want to
avoid mistakes by always being explicit.</p>
</li>
<li>
<p><code>current</code> - push the current branch to update a branch with the same
name on the receiving end.  Works in both central and non-central
workflows.</p>
</li>
<li>
<p><code>upstream</code> - push the current branch back to the branch whose
changes are usually integrated into the current branch (which is
called <code>@{upstream}</code>).  This mode only makes sense if you are
pushing to the same repository you would normally pull from
(i.e. central workflow).</p>
</li>
<li>
<p><code>simple</code> - in centralized workflow, work like <code>upstream</code> with an
added safety to refuse to push if the upstream branch&#8217;s name is
different from the local one.</p>
<div class="paragraph">
<p>When pushing to a remote that is different from the remote you normally
pull from, work as <code>current</code>.  This is the safest option and is suited
for beginners.</p>
</div>
<div class="paragraph">
<p>This mode has become the default in Git 2.0.</p>
</div>
</li>
<li>
<p><code>matching</code> - push all branches having the same name on both ends.
This makes the repository you are pushing to remember the set of
branches that will be pushed out (e.g. if you always push <em>maint</em>
and <em>master</em> there and no other branches, the repository you push
to will have these two branches, and your local <em>maint</em> and
<em>master</em> will be pushed there).</p>
<div class="paragraph">
<p>To use this mode effectively, you have to make sure <em>all</em> the
branches you would push out are ready to be pushed out before
running <em>git push</em>, as the whole point of this mode is to allow you
to push all of the branches in one go.  If you usually finish work
on only one branch and push out the result, while other branches are
unfinished, this mode is not for you.  Also this mode is not
suitable for pushing into a shared central repository, as other
people may add new branches there, or update the tip of existing
branches outside your control.</p>
</div>
<div class="paragraph">
<p>This used to be the default, but not since Git 2.0 (<code>simple</code> is the
new default).</p>
</div>
</li>
</ul>
</div>
</div>
</div>
</dd>
<dt class="hdlist1">push.followTags</dt>
<dd>
<p>If set to true enable <em>--follow-tags</em> option by default.  You
may override this configuration at time of push by specifying
<em>--no-follow-tags</em>.</p>
</dd>
<dt class="hdlist1">rebase.stat</dt>
<dd>
<p>Whether to show a diffstat of what changed upstream since the last
rebase. False by default.</p>
</dd>
<dt class="hdlist1">rebase.autoSquash</dt>
<dd>
<p>If set to true enable <em>--autosquash</em> option by default.</p>
</dd>
<dt class="hdlist1">rebase.autoStash</dt>
<dd>
<p>When set to true, automatically create a temporary stash
before the operation begins, and apply it after the operation
ends.  This means that you can run rebase on a dirty worktree.
However, use with care: the final stash application after a
successful rebase might result in non-trivial conflicts.
Defaults to false.</p>
</dd>
<dt class="hdlist1">receive.advertiseAtomic</dt>
<dd>
<p>By default, git-receive-pack will advertise the atomic push
capability to its clients. If you don&#8217;t want to this capability
to be advertised, set this variable to false.</p>
</dd>
<dt class="hdlist1">receive.autogc</dt>
<dd>
<p>By default, git-receive-pack will run "git-gc --auto" after
receiving data from git-push and updating refs.  You can stop
it by setting this variable to false.</p>
</dd>
<dt class="hdlist1">receive.certNonceSeed</dt>
<dd>
<p>By setting this variable to a string, <code>git receive-pack</code>
will accept a <code>git push --signed</code> and verifies it by using
a "nonce" protected by HMAC using this string as a secret
key.</p>
</dd>
<dt class="hdlist1">receive.certNonceSlop</dt>
<dd>
<p>When a <code>git push --signed</code> sent a push certificate with a
"nonce" that was issued by a receive-pack serving the same
repository within this many seconds, export the "nonce"
found in the certificate to <code>GIT_PUSH_CERT_NONCE</code> to the
hooks (instead of what the receive-pack asked the sending
side to include).  This may allow writing checks in
<code>pre-receive</code> and <code>post-receive</code> a bit easier.  Instead of
checking <code>GIT_PUSH_CERT_NONCE_SLOP</code> environment variable
that records by how many seconds the nonce is stale to
decide if they want to accept the certificate, they only
can check <code>GIT_PUSH_CERT_NONCE_STATUS</code> is <code>OK</code>.</p>
</dd>
<dt class="hdlist1">receive.fsckObjects</dt>
<dd>
<p>If it is set to true, git-receive-pack will check all received
objects. It will abort in the case of a malformed object or a
broken link. The result of an abort are only dangling objects.
Defaults to false. If not set, the value of <code>transfer.fsckObjects</code>
is used instead.</p>
</dd>
<dt class="hdlist1">receive.unpackLimit</dt>
<dd>
<p>If the number of objects received in a push is below this
limit then the objects will be unpacked into loose object
files. However if the number of received objects equals or
exceeds this limit then the received pack will be stored as
a pack, after adding any missing delta bases.  Storing the
pack from a push can make the push operation complete faster,
especially on slow filesystems.  If not set, the value of
<code>transfer.unpackLimit</code> is used instead.</p>
</dd>
<dt class="hdlist1">receive.denyDeletes</dt>
<dd>
<p>If set to true, git-receive-pack will deny a ref update that deletes
the ref. Use this to prevent such a ref deletion via a push.</p>
</dd>
<dt class="hdlist1">receive.denyDeleteCurrent</dt>
<dd>
<p>If set to true, git-receive-pack will deny a ref update that
deletes the currently checked out branch of a non-bare repository.</p>
</dd>
<dt class="hdlist1">receive.denyCurrentBranch</dt>
<dd>
<p>If set to true or "refuse", git-receive-pack will deny a ref update
to the currently checked out branch of a non-bare repository.
Such a push is potentially dangerous because it brings the HEAD
out of sync with the index and working tree. If set to "warn",
print a warning of such a push to stderr, but allow the push to
proceed. If set to false or "ignore", allow such pushes with no
message. Defaults to "refuse".</p>
<div class="paragraph">
<p>Another option is "updateInstead" which will update the working
tree if pushing into the current branch.  This option is
intended for synchronizing working directories when one side is not easily
accessible via interactive ssh (e.g. a live web site, hence the requirement
that the working directory be clean). This mode also comes in handy when
developing inside a VM to test and fix code on different Operating Systems.</p>
</div>
<div class="paragraph">
<p>By default, "updateInstead" will refuse the push if the working tree or
the index have any difference from the HEAD, but the <code>push-to-checkout</code>
hook can be used to customize this.  See linkgit:githooks[5].</p>
</div>
</dd>
<dt class="hdlist1">receive.denyNonFastForwards</dt>
<dd>
<p>If set to true, git-receive-pack will deny a ref update which is
not a fast-forward. Use this to prevent such an update via a push,
even if that push is forced. This configuration variable is
set when initializing a shared repository.</p>
</dd>
<dt class="hdlist1">receive.hideRefs</dt>
<dd>
<p>String(s) <code>receive-pack</code> uses to decide which refs to omit
from its initial advertisement.  Use more than one
definitions to specify multiple prefix strings. A ref that
are under the hierarchies listed on the value of this
variable is excluded, and is hidden when responding to <code>git
push</code>, and an attempt to update or delete a hidden ref by
<code>git push</code> is rejected.</p>
</dd>
<dt class="hdlist1">receive.updateServerInfo</dt>
<dd>
<p>If set to true, git-receive-pack will run git-update-server-info
after receiving data from git-push and updating refs.</p>
</dd>
<dt class="hdlist1">receive.shallowUpdate</dt>
<dd>
<p>If set to true, .git/shallow can be updated when new refs
require new shallow roots. Otherwise those refs are rejected.</p>
</dd>
<dt class="hdlist1">remote.pushDefault</dt>
<dd>
<p>The remote to push to by default.  Overrides
<code>branch.&lt;name&gt;.remote</code> for all branches, and is overridden by
<code>branch.&lt;name&gt;.pushRemote</code> for specific branches.</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.url</dt>
<dd>
<p>The URL of a remote repository.  See linkgit:git-fetch[1] or
linkgit:git-push[1].</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.pushurl</dt>
<dd>
<p>The push URL of a remote repository.  See linkgit:git-push[1].</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.proxy</dt>
<dd>
<p>For remotes that require curl (http, https and ftp), the URL to
the proxy to use for that remote.  Set to the empty string to
disable proxying for that remote.</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.fetch</dt>
<dd>
<p>The default set of "refspec" for linkgit:git-fetch[1]. See
linkgit:git-fetch[1].</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.push</dt>
<dd>
<p>The default set of "refspec" for linkgit:git-push[1]. See
linkgit:git-push[1].</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.mirror</dt>
<dd>
<p>If true, pushing to this remote will automatically behave
as if the <code>--mirror</code> option was given on the command line.</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.skipDefaultUpdate</dt>
<dd>
<p>If true, this remote will be skipped by default when updating
using linkgit:git-fetch[1] or the <code>update</code> subcommand of
linkgit:git-remote[1].</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.skipFetchAll</dt>
<dd>
<p>If true, this remote will be skipped by default when updating
using linkgit:git-fetch[1] or the <code>update</code> subcommand of
linkgit:git-remote[1].</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.receivepack</dt>
<dd>
<p>The default program to execute on the remote side when pushing.  See
option --receive-pack of linkgit:git-push[1].</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.uploadpack</dt>
<dd>
<p>The default program to execute on the remote side when fetching.  See
option --upload-pack of linkgit:git-fetch-pack[1].</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.tagOpt</dt>
<dd>
<p>Setting this value to --no-tags disables automatic tag following when
fetching from remote &lt;name&gt;. Setting it to --tags will fetch every
tag from remote &lt;name&gt;, even if they are not reachable from remote
branch heads. Passing these flags directly to linkgit:git-fetch[1] can
override this setting. See options --tags and --no-tags of
linkgit:git-fetch[1].</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.vcs</dt>
<dd>
<p>Setting this to a value &lt;vcs&gt; will cause Git to interact with
the remote with the git-remote-&lt;vcs&gt; helper.</p>
</dd>
<dt class="hdlist1">remote.&lt;name&gt;.prune</dt>
<dd>
<p>When set to true, fetching from this remote by default will also
remove any remote-tracking references that no longer exist on the
remote (as if the <code>--prune</code> option was given on the command line).
Overrides <code>fetch.prune</code> settings, if any.</p>
</dd>
<dt class="hdlist1">remotes.&lt;group&gt;</dt>
<dd>
<p>The list of remotes which are fetched by "git remote update
&lt;group&gt;".  See linkgit:git-remote[1].</p>
</dd>
<dt class="hdlist1">repack.useDeltaBaseOffset</dt>
<dd>
<p>By default, linkgit:git-repack[1] creates packs that use
delta-base offset. If you need to share your repository with
Git older than version 1.4.4, either directly or via a dumb
protocol such as http, then you need to set this option to
"false" and repack. Access from old Git versions over the
native protocol are unaffected by this option.</p>
</dd>
<dt class="hdlist1">repack.packKeptObjects</dt>
<dd>
<p>If set to true, makes <code>git repack</code> act as if
<code>--pack-kept-objects</code> was passed. See linkgit:git-repack[1] for
details. Defaults to <code>false</code> normally, but <code>true</code> if a bitmap
index is being written (either via <code>--write-bitmap-index</code> or
<code>repack.writeBitmaps</code>).</p>
</dd>
<dt class="hdlist1">repack.writeBitmaps</dt>
<dd>
<p>When true, git will write a bitmap index when packing all
objects to disk (e.g., when <code>git repack -a</code> is run).  This
index can speed up the "counting objects" phase of subsequent
packs created for clones and fetches, at the cost of some disk
space and extra time spent on the initial repack.  Defaults to
false.</p>
</dd>
<dt class="hdlist1">rerere.autoUpdate</dt>
<dd>
<p>When set to true, <code>git-rerere</code> updates the index with the
resulting contents after it cleanly resolves conflicts using
previously recorded resolution.  Defaults to false.</p>
</dd>
<dt class="hdlist1">rerere.enabled</dt>
<dd>
<p>Activate recording of resolved conflicts, so that identical
conflict hunks can be resolved automatically, should they be
encountered again.  By default, linkgit:git-rerere[1] is
enabled if there is an <code>rr-cache</code> directory under the
<code>$GIT_DIR</code>, e.g. if "rerere" was previously used in the
repository.</p>
</dd>
<dt class="hdlist1">sendemail.identity</dt>
<dd>
<p>A configuration identity. When given, causes values in the
<em>sendemail.&lt;identity&gt;</em> subsection to take precedence over
values in the <em>sendemail</em> section. The default identity is
the value of <em>sendemail.identity</em>.</p>
</dd>
<dt class="hdlist1">sendemail.smtpEncryption</dt>
<dd>
<p>See linkgit:git-send-email[1] for description.  Note that this
setting is not subject to the <em>identity</em> mechanism.</p>
</dd>
<dt class="hdlist1">sendemail.smtpssl (deprecated)</dt>
<dd>
<p>Deprecated alias for <em>sendemail.smtpEncryption = ssl</em>.</p>
</dd>
<dt class="hdlist1">sendemail.smtpsslcertpath</dt>
<dd>
<p>Path to ca-certificates (either a directory or a single file).
Set it to an empty string to disable certificate verification.</p>
</dd>
<dt class="hdlist1">sendemail.&lt;identity&gt;.*</dt>
<dd>
<p>Identity-specific versions of the <em>sendemail.*</em> parameters
found below, taking precedence over those when the this
identity is selected, through command-line or
<em>sendemail.identity</em>.</p>
</dd>
<dt class="hdlist1">sendemail.aliasesFile</dt>
<dt class="hdlist1">sendemail.aliasFileType</dt>
<dt class="hdlist1">sendemail.annotate</dt>
<dt class="hdlist1">sendemail.bcc</dt>
<dt class="hdlist1">sendemail.cc</dt>
<dt class="hdlist1">sendemail.ccCmd</dt>
<dt class="hdlist1">sendemail.chainReplyTo</dt>
<dt class="hdlist1">sendemail.confirm</dt>
<dt class="hdlist1">sendemail.envelopeSender</dt>
<dt class="hdlist1">sendemail.from</dt>
<dt class="hdlist1">sendemail.multiEdit</dt>
<dt class="hdlist1">sendemail.signedoffbycc</dt>
<dt class="hdlist1">sendemail.smtpPass</dt>
<dt class="hdlist1">sendemail.suppresscc</dt>
<dt class="hdlist1">sendemail.suppressFrom</dt>
<dt class="hdlist1">sendemail.to</dt>
<dt class="hdlist1">sendemail.smtpDomain</dt>
<dt class="hdlist1">sendemail.smtpServer</dt>
<dt class="hdlist1">sendemail.smtpServerPort</dt>
<dt class="hdlist1">sendemail.smtpServerOption</dt>
<dt class="hdlist1">sendemail.smtpUser</dt>
<dt class="hdlist1">sendemail.thread</dt>
<dt class="hdlist1">sendemail.transferEncoding</dt>
<dt class="hdlist1">sendemail.validate</dt>
<dt class="hdlist1">sendemail.xmailer</dt>
<dd>
<p>See linkgit:git-send-email[1] for description.</p>
</dd>
<dt class="hdlist1">sendemail.signedoffcc (deprecated)</dt>
<dd>
<p>Deprecated alias for <em>sendemail.signedoffbycc</em>.</p>
</dd>
<dt class="hdlist1">showbranch.default</dt>
<dd>
<p>The default set of branches for linkgit:git-show-branch[1].
See linkgit:git-show-branch[1].</p>
</dd>
<dt class="hdlist1">status.relativePaths</dt>
<dd>
<p>By default, linkgit:git-status[1] shows paths relative to the
current directory. Setting this variable to <code>false</code> shows paths
relative to the repository root (this was the default for Git
prior to v1.5.4).</p>
</dd>
<dt class="hdlist1">status.short</dt>
<dd>
<p>Set to true to enable --short by default in linkgit:git-status[1].
The option --no-short takes precedence over this variable.</p>
</dd>
<dt class="hdlist1">status.branch</dt>
<dd>
<p>Set to true to enable --branch by default in linkgit:git-status[1].
The option --no-branch takes precedence over this variable.</p>
</dd>
<dt class="hdlist1">status.displayCommentPrefix</dt>
<dd>
<p>If set to true, linkgit:git-status[1] will insert a comment
prefix before each output line (starting with
<code>core.commentChar</code>, i.e. <code>#</code> by default). This was the
behavior of linkgit:git-status[1] in Git 1.8.4 and previous.
Defaults to false.</p>
</dd>
<dt class="hdlist1">status.showUntrackedFiles</dt>
<dd>
<p>By default, linkgit:git-status[1] and linkgit:git-commit[1] show
files which are not currently tracked by Git. Directories which
contain only untracked files, are shown with the directory name
only. Showing untracked files means that Git needs to lstat() all
the files in the whole repository, which might be slow on some
systems. So, this variable controls how the commands displays
the untracked files. Possible values are:</p>
<div class="openblock">
<div class="content">
<div class="ulist">
<ul>
<li>
<p><code>no</code> - Show no untracked files.</p>
</li>
<li>
<p><code>normal</code> - Show untracked files and directories.</p>
</li>
<li>
<p><code>all</code> - Show also individual files in untracked directories.</p>
</li>
</ul>
</div>
</div>
</div>
<div class="paragraph">
<p>If this variable is not specified, it defaults to <em>normal</em>.
This variable can be overridden with the -u|--untracked-files option
of linkgit:git-status[1] and linkgit:git-commit[1].</p>
</div>
</dd>
<dt class="hdlist1">status.submoduleSummary</dt>
<dd>
<p>Defaults to false.
If this is set to a non zero number or true (identical to -1 or an
unlimited number), the submodule summary will be enabled and a
summary of commits for modified submodules will be shown (see
--summary-limit option of linkgit:git-submodule[1]). Please note
that the summary output command will be suppressed for all
submodules when <code>diff.ignoreSubmodules</code> is set to <em>all</em> or only
for those submodules where <code>submodule.&lt;name&gt;.ignore=all</code>. The only
exception to that rule is that status and commit will show staged
submodule changes. To
also view the summary for ignored submodules you can either use
the --ignore-submodules=dirty command-line option or the <em>git
submodule summary</em> command, which shows a similar output but does
not honor these settings.</p>
</dd>
<dt class="hdlist1">submodule.&lt;name&gt;.path</dt>
<dt class="hdlist1">submodule.&lt;name&gt;.url</dt>
<dd>
<p>The path within this project and URL for a submodule. These
variables are initially populated by <em>git submodule init</em>. See
linkgit:git-submodule[1] and linkgit:gitmodules[5] for
details.</p>
</dd>
<dt class="hdlist1">submodule.&lt;name&gt;.update</dt>
<dd>
<p>The default update procedure for a submodule. This variable
is populated by <code>git submodule init</code> from the
linkgit:gitmodules[5] file. See description of <em>update</em>
command in linkgit:git-submodule[1].</p>
</dd>
<dt class="hdlist1">submodule.&lt;name&gt;.branch</dt>
<dd>
<p>The remote branch name for a submodule, used by <code>git submodule
update --remote</code>.  Set this option to override the value found in
the <code>.gitmodules</code> file.  See linkgit:git-submodule[1] and
linkgit:gitmodules[5] for details.</p>
</dd>
<dt class="hdlist1">submodule.&lt;name&gt;.fetchRecurseSubmodules</dt>
<dd>
<p>This option can be used to control recursive fetching of this
submodule. It can be overridden by using the --[no-]recurse-submodules
command-line option to "git fetch" and "git pull".
This setting will override that from in the linkgit:gitmodules[5]
file.</p>
</dd>
<dt class="hdlist1">submodule.&lt;name&gt;.ignore</dt>
<dd>
<p>Defines under what circumstances "git status" and the diff family show
a submodule as modified. When set to "all", it will never be considered
modified (but it will nonetheless show up in the output of status and
commit when it has been staged), "dirty" will ignore all changes
to the submodules work tree and
takes only differences between the HEAD of the submodule and the commit
recorded in the superproject into account. "untracked" will additionally
let submodules with modified tracked files in their work tree show up.
Using "none" (the default when this option is not set) also shows
submodules that have untracked files in their work tree as changed.
This setting overrides any setting made in .gitmodules for this submodule,
both settings can be overridden on the command line by using the
"--ignore-submodules" option. The <em>git submodule</em> commands are not
affected by this setting.</p>
</dd>
<dt class="hdlist1">tag.sort</dt>
<dd>
<p>This variable controls the sort ordering of tags when displayed by
linkgit:git-tag[1]. Without the "--sort=&lt;value&gt;" option provided, the
value of this variable will be used as the default.</p>
</dd>
<dt class="hdlist1">tar.umask</dt>
<dd>
<p>This variable can be used to restrict the permission bits of
tar archive entries.  The default is 0002, which turns off the
world write bit.  The special value "user" indicates that the
archiving user&#8217;s umask will be used instead.  See umask(2) and
linkgit:git-archive[1].</p>
</dd>
<dt class="hdlist1">transfer.fsckObjects</dt>
<dd>
<p>When <code>fetch.fsckObjects</code> or <code>receive.fsckObjects</code> are
not set, the value of this variable is used instead.
Defaults to false.</p>
</dd>
<dt class="hdlist1">transfer.hideRefs</dt>
<dd>
<p>This variable can be used to set both <code>receive.hideRefs</code>
and <code>uploadpack.hideRefs</code> at the same time to the same
values.  See entries for these other variables.</p>
</dd>
<dt class="hdlist1">transfer.unpackLimit</dt>
<dd>
<p>When <code>fetch.unpackLimit</code> or <code>receive.unpackLimit</code> are
not set, the value of this variable is used instead.
The default value is 100.</p>
</dd>
<dt class="hdlist1">uploadarchive.allowUnreachable</dt>
<dd>
<p>If true, allow clients to use <code>git archive --remote</code> to request
any tree, whether reachable from the ref tips or not. See the
discussion in the <code>SECURITY</code> section of
linkgit:git-upload-archive[1] for more details. Defaults to
<code>false</code>.</p>
</dd>
<dt class="hdlist1">uploadpack.hideRefs</dt>
<dd>
<p>String(s) <code>upload-pack</code> uses to decide which refs to omit
from its initial advertisement.  Use more than one
definitions to specify multiple prefix strings. A ref that
are under the hierarchies listed on the value of this
variable is excluded, and is hidden from <code>git ls-remote</code>,
<code>git fetch</code>, etc.  An attempt to fetch a hidden ref by <code>git
fetch</code> will fail.  See also <code>uploadpack.allowTipSHA1InWant</code>.</p>
</dd>
<dt class="hdlist1">uploadpack.allowTipSHA1InWant</dt>
<dd>
<p>When <code>uploadpack.hideRefs</code> is in effect, allow <code>upload-pack</code>
to accept a fetch request that asks for an object at the tip
of a hidden ref (by default, such a request is rejected).
see also <code>uploadpack.hideRefs</code>.</p>
</dd>
<dt class="hdlist1">uploadpack.allowReachableSHA1InWant</dt>
<dd>
<p>Allow <code>upload-pack</code> to accept a fetch request that asks for an
object that is reachable from any ref tip. However, note that
calculating object reachability is computationally expensive.
Defaults to <code>false</code>.</p>
</dd>
<dt class="hdlist1">uploadpack.keepAlive</dt>
<dd>
<p>When <code>upload-pack</code> has started <code>pack-objects</code>, there may be a
quiet period while <code>pack-objects</code> prepares the pack. Normally
it would output progress information, but if <code>--quiet</code> was used
for the fetch, <code>pack-objects</code> will output nothing at all until
the pack data begins. Some clients and networks may consider
the server to be hung and give up. Setting this option instructs
<code>upload-pack</code> to send an empty keepalive packet every
<code>uploadpack.keepAlive</code> seconds. Setting this option to 0
disables keepalive packets entirely. The default is 5 seconds.</p>
</dd>
<dt class="hdlist1">url.&lt;base&gt;.insteadOf</dt>
<dd>
<p>Any URL that starts with this value will be rewritten to
start, instead, with &lt;base&gt;. In cases where some site serves a
large number of repositories, and serves them with multiple
access methods, and some users need to use different access
methods, this feature allows people to specify any of the
equivalent URLs and have Git automatically rewrite the URL to
the best alternative for the particular user, even for a
never-before-seen repository on the site.  When more than one
insteadOf strings match a given URL, the longest match is used.</p>
</dd>
<dt class="hdlist1">url.&lt;base&gt;.pushInsteadOf</dt>
<dd>
<p>Any URL that starts with this value will not be pushed to;
instead, it will be rewritten to start with &lt;base&gt;, and the
resulting URL will be pushed to. In cases where some site serves
a large number of repositories, and serves them with multiple
access methods, some of which do not allow push, this feature
allows people to specify a pull-only URL and have Git
automatically use an appropriate URL to push, even for a
never-before-seen repository on the site.  When more than one
pushInsteadOf strings match a given URL, the longest match is
used.  If a remote has an explicit pushurl, Git will ignore this
setting for that remote.</p>
</dd>
<dt class="hdlist1">user.email</dt>
<dd>
<p>Your email address to be recorded in any newly created commits.
Can be overridden by the <em>GIT_AUTHOR_EMAIL</em>, <em>GIT_COMMITTER_EMAIL</em>, and
<em>EMAIL</em> environment variables.  See linkgit:git-commit-tree[1].</p>
</dd>
<dt class="hdlist1">user.name</dt>
<dd>
<p>Your full name to be recorded in any newly created commits.
Can be overridden by the <em>GIT_AUTHOR_NAME</em> and <em>GIT_COMMITTER_NAME</em>
environment variables.  See linkgit:git-commit-tree[1].</p>
</dd>
<dt class="hdlist1">user.signingKey</dt>
<dd>
<p>If linkgit:git-tag[1] or linkgit:git-commit[1] is not selecting the
key you want it to automatically when creating a signed tag or
commit, you can override the default selection with this variable.
This option is passed unchanged to gpg&#8217;s --local-user parameter,
so you may specify a key using any method that gpg supports.</p>
</dd>
<dt class="hdlist1">versionsort.prereleaseSuffix</dt>
<dd>
<p>When version sort is used in linkgit:git-tag[1], prerelease
tags (e.g. "1.0-rc1") may appear after the main release
"1.0". By specifying the suffix "-rc" in this variable,
"1.0-rc1" will appear before "1.0".</p>
<div class="paragraph">
<p>This variable can be specified multiple times, once per suffix. The
order of suffixes in the config file determines the sorting order
(e.g. if "-pre" appears before "-rc" in the config file then 1.0-preXX
is sorted before 1.0-rcXX). The sorting order between different
suffixes is undefined if they are in multiple config files.</p>
</div>
</dd>
<dt class="hdlist1">web.browser</dt>
<dd>
<p>Specify a web browser that may be used by some commands.
Currently only linkgit:git-instaweb[1] and linkgit:git-help[1]
may use it.</p>
</dd>
<dt class="hdlist1">sendpack.sideband</dt>
<dd>
<p>Allows to disable the side-band-64k capability for send-pack even
when it is advertised by the server. Makes it possible to work
around a limitation in the git for windows implementation together
with the dump git protocol. Defaults to true.</p>
</dd>
</dl>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_git">GIT</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Part of the linkgit:git[1] suite</p>
</div>
</div>
</div>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2015-08-30 17:24:33 Coordinated Universal Time
</div>
</div>
</body>
</html>